mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
use hg changeset info for xen banner
Signed-off-by: Chris Wright <chrisw@osdl.org>
This commit is contained in:
1 parent
a640c9b437
commit
7e0250ca12
1 file changed
+1
-1
+1
-1
@@ -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 $@
|
||||
|
||||