summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-05 16:18:05 +0200
committerraveit65 <[email protected]>2016-04-05 16:18:05 +0200
commitab5f65d27c191ac2bb4152efc55af4b59d9c1e47 (patch)
tree615718e47ff949bf5cc0e5772f47ee278020135c
parent51490a99290758a95e534c1ebbc0f1d180a21ce4 (diff)
downloadmate-notification-daemon-ab5f65d27c191ac2bb4152efc55af4b59d9c1e47.tar.bz2
mate-notification-daemon-ab5f65d27c191ac2bb4152efc55af4b59d9c1e47.tar.xz
Add Changelog generation
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b0996e4..3571a60 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,5 +43,14 @@ MAINTAINERCLEANFILES = \
$(srcdir)/ChangeLog \
`find "$(srcdir)" -type f -name Makefile.in -print`
+# 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