summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2011-06-12 20:55:07 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2011-06-12 20:55:07 +0800
commit7745b29b96c8f81b8de16f6fdc8a4fe8ba85b6ac (patch)
tree4e53464ffd22df87ba28af5764a76262301425d1
parent30523a56a1c592e272e6a4a8682b243b545dc35a (diff)
build: fixed ChangeLog generating
-rw-r--r--Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 9c61a0e..b922525 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,14 @@ EXTRA_DIST = \
COPYING \
COPYING-LGPL-2.1 \
COPYING-MPL-1.1 \
- FEATURES \
- ChangeLog
+ FEATURES
+
+DISTCLEANFILES = ChangeLog
ChangeLog:
- @git-log --pretty=medium --no-merges > $@
+ @git log --pretty=medium --no-merges > $@
.PHONY: ChangeLog
+
+dist-hook: ChangeLog
+ cp $(top_builddir)/ChangeLog $(top_distdir)/