summaryrefslogtreecommitdiffabout
path: root/Makefile.am
Side-by-side diff
Diffstat (limited to 'Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 643d06a..72619ec 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,2 +1,10 @@
SUBDIRS=src @GRECS_TESTDIR@ @GRECS_DOCDIR@
EXTRA_DIST=@GRECS_BUILD_AUX@
+ACLOCAL_AMFLAGS = -I am
+
+@GRECS_CHANGELOG@.PHONY: ChangeLog
+@GRECS_CHANGELOG@ChangeLog:
+@GRECS_CHANGELOG@ $(AM_V_GEN)if test -d .git; then \
+@GRECS_CHANGELOG@ git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \
+@GRECS_CHANGELOG@ awk -f $(top_srcdir)/build-aux/git2chg.awk > ChangeLog; \
+@GRECS_CHANGELOG@ fi

Return to:

Send suggestions and report system problems to the System administrator.