2007-04-26 01:53:07 +02:00
|
|
|
Index: xen-unstable/xen/Makefile
|
2007-01-16 00:42:10 +01:00
|
|
|
===================================================================
|
2007-04-26 01:53:07 +02:00
|
|
|
--- xen-unstable.orig/xen/Makefile
|
|
|
|
+++ xen-unstable/xen/Makefile
|
2007-02-11 11:48:10 +01:00
|
|
|
@@ -1,3 +1,4 @@
|
2007-01-16 00:42:10 +01:00
|
|
|
+export XEN_CHANGESET = unavailable
|
2007-02-11 11:48:10 +01:00
|
|
|
# This is the correct place to edit the build version.
|
|
|
|
# All other places this is stored (eg. compile.h) should be autogenerated.
|
|
|
|
export XEN_VERSION = 3
|
2007-04-26 01:53:07 +02:00
|
|
|
@@ -112,7 +113,7 @@ include/xen/compile.h: include/xen/compi
|
2007-01-16 00:42:10 +01:00
|
|
|
-e 's/@@version@@/$(XEN_VERSION)/g' \
|
|
|
|
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
|
|
|
|
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
|
2007-02-11 11:48:10 +01:00
|
|
|
- -e 's!@@changeset@@!$(shell ((hg parents --template "{date|date} {rev}:{node|short}" >/dev/null && hg parents --template "{date|date} {rev}:{node|short}") || echo "unavailable") 2>/dev/null)!g' \
|
2007-01-16 00:42:10 +01:00
|
|
|
+ -e 's!@@changeset@@!$(XEN_CHANGESET)!g' \
|
|
|
|
< include/xen/compile.h.in > $@.new
|
|
|
|
tools/figlet/figlet -d tools/figlet Xen $(XEN_FULLVERSION) >> $@.new
|
|
|
|
@mv -f $@.new $@
|