From 770081c3d9b8e2c553b7fdfb396ba76427b6d0f5 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 7 Apr 2016 00:29:36 +0200 Subject: Fix Changelog generation --- Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile.am') 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} -- cgit v1.2.1