ia64/xen-unstable

changeset 7310:60b0ac30ba18

Local repo version number in Xen boot log.
Signed-off-by: Dan Smith <danms@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Oct 10 21:08:16 2005 +0100 (2005-10-10)
parents 9afe86e6d9dd
children 5da7f98f91e7
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Mon Oct 10 20:56:46 2005 +0100
     1.2 +++ b/xen/Makefile	Mon Oct 10 21:08:16 2005 +0100
     1.3 @@ -95,7 +95,7 @@ include/xen/compile.h: include/xen/compi
     1.4  	    -e 's/@@version@@/$(XEN_VERSION)/g' \
     1.5  	    -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
     1.6  	    -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
     1.7 -	    -e 's!@@changeset@@!$(shell (hg parents | awk -F: '/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || (head -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information unavailable)!g' \
     1.8 +	    -e 's!@@changeset@@!$(shell (hg parents | awk '{FS="changeset:[ ]+"}/^changeset/{CS=$$2};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || (head -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information unavailable)!g' \
     1.9  	    < include/xen/compile.h.in > $@.new
    1.10  	@cat include/xen/banner.h >> $@.new
    1.11  	@mv -f $@.new $@