summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-07 00:29:36 +0200
committerraveit65 <[email protected]>2016-04-07 00:34:53 +0200
commit770081c3d9b8e2c553b7fdfb396ba76427b6d0f5 (patch)
treeb2e93681ea022f4f37150b492898832fce91d996 /Makefile.am
parent7aaa6bea6309e991e8121caff783da244e447f2a (diff)
downloadmate-applets-770081c3d9b8e2c553b7fdfb396ba76427b6d0f5.tar.bz2
mate-applets-770081c3d9b8e2c553b7fdfb396ba76427b6d0f5.tar.xz
Fix Changelog generation
Diffstat (limited to 'Makefile.am')
-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}