|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix changeset banner for source tarballs.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 5da7f98f91e73728ef4eec39e1c7b3b69d558e9b
# Parent 60b0ac30ba185756794dd515b3ad1b3f315043e8
Fix changeset banner for source tarballs.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 60b0ac30ba18 -r 5da7f98f91e7 xen/Makefile
--- a/xen/Makefile Mon Oct 10 20:08:16 2005
+++ b/xen/Makefile Mon Oct 10 20:45:31 2005
@@ -95,7 +95,7 @@
-e 's/@@version@@/$(XEN_VERSION)/g' \
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
- -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' \
+ -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' \
< include/xen/compile.h.in > $@.new
@cat include/xen/banner.h >> $@.new
@mv -f $@.new $@
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix changeset banner for source tarballs.,
Xen patchbot -unstable <=
|
|
|
|
|