summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-05 22:17:56 +0200
committerraveit65 <[email protected]>2016-04-05 22:17:56 +0200
commit15fef4fb18c1ff1da3396f395d6cd5366f465c34 (patch)
treead6d3e9cf01e0b51d20d93b7d7a8f1b30a68edb3 /Makefile.am
parent6cca1faf435351c83bdb7d6f35ee510bb9dadefb (diff)
downloadmate-user-guide-15fef4fb18c1ff1da3396f395d6cd5366f465c34.tar.bz2
mate-user-guide-15fef4fb18c1ff1da3396f395d6cd5366f465c34.tar.xz
Add Changelog generation
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 4ae3906..2c1673d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,3 +6,13 @@ desktop_in_files = mate-user-guide.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
CLEANFILES = $(desktop_DATA)
+
+# 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