summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index ca10405a..f43a44ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,15 +80,14 @@ EXTRA_DIST = \
omf.make \
autogen.sh
-# We build the ChangeLog from the git log
+# Build ChangeLog from GIT history
ChangeLog:
- @if test -f $(top_srcdir)/.git/HEAD; then \
- git log --stat --no-color --since=2009-05-23 > $@; \
+ $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
+ GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
fi
dist: ChangeLog
-# Make sure the ChangeLog is updated every time
.PHONY: ChangeLog
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}