summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-07-16 10:50:48 +0100
committerRichard W.M. Jones <rjones@redhat.com>2008-07-16 10:50:48 +0100
commit9da8ce8817616f6fd928369586645435ec215202 (patch)
tree56f893014efe393736242ae7cbe65a5b68e42e73 /Makefile.in
parent852a92adcd6280b58dbe395e03b66251e8eba234 (diff)
downloadvirt-top-9da8ce8817616f6fd928369586645435ec215202.tar.gz
virt-top-9da8ce8817616f6fd928369586645435ec215202.tar.xz
virt-top-9da8ce8817616f6fd928369586645435ec215202.zip
Rebuild ChangeLog file automatically when we distribute.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 83fc0cb..1793bfc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,5 +1,5 @@
# virt-top
-# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2007-2008 Red Hat Inc., Richard W.M. Jones
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -58,7 +58,7 @@ endif
# Distribution.
-dist:
+dist: ChangeLog
$(MAKE) check-manifest
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
@@ -75,5 +75,8 @@ check-manifest:
rm -f .orig-manifest .check-manifest; \
exit $$rv
-.PHONY: all opt depend install clean distclean configure dist check-manifest \
- release release_stage_2 release_stage_3 force \ No newline at end of file
+ChangeLog:
+ hg log --style changelog > $@.new
+ mv $@.new $@
+
+.PHONY: all opt depend install clean distclean force \ No newline at end of file