diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Makefile.am | 10 |
2 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,2 @@ +The ChangeLog is auto-generated when releasing. If you are seeing this, use +'git log' for a detailed list of changes. 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 |