direct-io.hg

changeset 5621:0962f5989d2a

use hg changeset info for xen banner
Signed-off-by: Chris Wright <chrisw@osdl.org>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 01 10:15:25 2005 +0000 (2005-07-01)
parents 132e23381692
children ef2adae89e4d 15a2de6f1493
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Fri Jul 01 03:16:53 2005 +0000
     1.2 +++ b/xen/Makefile	Fri Jul 01 10:15:25 2005 +0000
     1.3 @@ -97,7 +97,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 bk changes -nd':D: :T: :REV: :MD5KEY:' -r+ 2>/dev/null || echo information unavailable)!g' \
     1.8 +	    -e 's!@@changeset@@!$(shell (hg tip | awk '/changeset/{CS=$$2};{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 $@