summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-06 18:57:44 +0200
committerraveit65 <[email protected]>2016-04-06 18:57:44 +0200
commit333c7fb8df9e872e6a039e94648f0940c6d116b9 (patch)
tree484efd7481acb4b235c7b8be5b21b468c8f52552 /Makefile.am
parent6ea493774a87752e1e39ec4ebb7d427b68ad64b2 (diff)
downloadcaja-extensions-333c7fb8df9e872e6a039e94648f0940c6d116b9.tar.bz2
caja-extensions-333c7fb8df9e872e6a039e94648f0940c6d116b9.tar.xz
Add Changelog generation
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 71beaf1..2b9b1c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,3 +40,14 @@ DISTCLEANFILES = \
intltool-update \
intltool-merge \
po/.intltool-merge-cache
+
+# 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
+