summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-05 13:02:37 +0200
committerraveit65 <[email protected]>2016-04-05 13:02:37 +0200
commitbe4bbf35edbb66dcd0b3c5b08746df52a785e69d (patch)
tree24a31961bbc14fd9c58e309d8b8ec002ddfbb8c8 /Makefile.am
parent0c3de5d4fc53424ae018f49e70a788a365295fa2 (diff)
downloadlibmatemixer-be4bbf35edbb66dcd0b3c5b08746df52a785e69d.tar.bz2
libmatemixer-be4bbf35edbb66dcd0b3c5b08746df52a785e69d.tar.xz
add Changelog from git
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 f0b122a..5cc6cbe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,4 +28,14 @@ MAINTAINERCLEANFILES = \
$(srcdir)/m4/ltversion.m4 \
$(srcdir)/m4/gtk-doc.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