summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-06 22:01:53 +0200
committerraveit65 <[email protected]>2016-04-06 22:01:53 +0200
commitd7a6434cd7f3dcbfc09386053bd9e212aae5284c (patch)
tree804b4ebbf8e31ff99861536d08b846780c32ed04
parentc57aa66fc8ddcc9baa21446e87c9332f11e0abed (diff)
downloadmate-panel-d7a6434cd7f3dcbfc09386053bd9e212aae5284c.tar.bz2
mate-panel-d7a6434cd7f3dcbfc09386053bd9e212aae5284c.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 ba98f5f7..5b1f3df7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,4 +41,14 @@ MAINTAINERCLEANFILES = \
$(srcdir)/m4/ltversion.m4 \
$(srcdir)/m4/lt~obsolete.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 > $@; \
+ fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+
-include $(top_srcdir)/git.mk