summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *~