use hg changeset info for xen banner

Signed-off-by: Chris Wright <chrisw@osdl.org>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-07-01 10:15:25 +00:00
1 parent a640c9b437
commit 7e0250ca12
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ include/xen/compile.h: include/xen/compile.h.in include/xen/banner.h
-e 's/@@version@@/$(XEN_VERSION)/g' \
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
-e 's!@@changeset@@!$(shell bk changes -nd':D: :T: :REV: :MD5KEY:' -r+ 2>/dev/null || echo information unavailable)!g' \
-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' \
< include/xen/compile.h.in > $@.new
@cat include/xen/banner.h >> $@.new
@mv -f $@.new $@
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.