summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-05 13:55:49 +0200
committerraveit65 <[email protected]>2016-04-05 13:55:49 +0200
commitb9c9aa017b85e7854994f00383a941cbce3d97d9 (patch)
treed3d872311a2ca6b435731d3cb58a35b776e57dbf
parent390c0d3f2239eae54651798365dc07cd9eedf600 (diff)
downloadlibmateweather-b9c9aa017b85e7854994f00383a941cbce3d97d9.tar.bz2
libmateweather-b9c9aa017b85e7854994f00383a941cbce3d97d9.tar.xz
Add Changelog generation
-rw-r--r--Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index dffd58f..9b02ac4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,4 +25,14 @@ MAINTAINERCLEANFILES = \
$(srcdir)/m4/gtk-doc.m4 \
$(srcdir)/m4/intltool.m4
+# Build ChangeLog from GIT history
+ChangeLog:
+ $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
+ GIT_DIR="$(top_srcdir)/.git" git log --stat > [email protected]; \
+ fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+
-include $(top_srcdir)/git.mk