direct-io.hg

changeset 7296:5da7f98f91e7

Fix changeset banner for source tarballs.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Oct 10 21:45:31 2005 +0100 (2005-10-10)
parents 60b0ac30ba18
children e97436e48e56
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Mon Oct 10 21:08:16 2005 +0100
     1.2 +++ b/xen/Makefile	Mon Oct 10 21:45:31 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 '{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.8 +	    -e 's!@@changeset@@!$(shell ((hg parents || head -n 7 ../ChangeLog || echo date: unavailable) | awk '{FS="changeset:[ ]+"}/^changeset/{CS=$$2};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null)!g' \
     1.9  	    < include/xen/compile.h.in > $@.new
    1.10  	@cat include/xen/banner.h >> $@.new
    1.11  	@mv -f $@.new $@