summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-05 23:34:35 +0200
committerraveit65 <[email protected]>2016-04-05 23:34:35 +0200
commit7f1ae222ba1d6da175ea428f2caf11de6ce9560f (patch)
treeb1bf1d1192d886d7fd8a1bc4f62943d7bc5da0af
parent3c8292bf2b57fa68ffbf6d2dd3258260f817f470 (diff)
downloadmate-session-manager-7f1ae222ba1d6da175ea428f2caf11de6ce9560f.tar.bz2
mate-session-manager-7f1ae222ba1d6da175ea428f2caf11de6ce9560f.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 8864c38..59e3fe4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,4 +31,14 @@ MAINTAINERCLEANFILES = \
DISTCHECK_CONFIGURE_FLAGS = --disable-upower
+# 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