[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Improve changeset identification to work from src tar ball too.
# HG changeset patch # User iap10@xxxxxxxxxxxxxxxxxxxxx # Node ID 20008f3ac9f5ab426382f16af8cc49780d7359ef # Parent 9a7d86b8147df0e2a14989b501b60863409010fd Improve changeset identification to work from src tar ball too. Signed-off-by: ian.pratt@xxxxxxxxxxxx diff -r 9a7d86b8147d -r 20008f3ac9f5 xen/Makefile --- a/xen/Makefile Wed Jul 6 14:23:39 2005 +++ b/xen/Makefile Wed Jul 6 15:21:25 2005 @@ -100,7 +100,7 @@ -e 's/@@version@@/$(XEN_VERSION)/g' \ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/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' \ + -e 's!@@changeset@@!$(shell (hg parents | awk -F: '/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || (head -6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{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 $@ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |