summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-06 13:15:44 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-03-06 13:15:44 -0600
commit1866fab10d7f630278357a33c8289c136996c1bc (patch)
tree52513cc664295432430b401b8e26be707de7dc5e /Makefile.am
parent28836a53fd617b6eeabda4a57fc4d15801d69a49 (diff)
Made ChangeLog creation process more robust.
Changes based on feedback from Dan Nicholson.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3919fd9..9fbc3c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,15 @@ SUBDIRS = pm man src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pm-utils.pc
+EXTRA_DIST = ChangeLog
+
+.PHONY: ChangeLog
ChangeLog:
- @-git log --no-merges --topo-order > $@
+ git log "--git-dir=$(srcdir)" > $@
+
+dist-hook: ChangeLog
+
+DISTCLEANFILES = ChangeLog
clean-local :
rm -f *~