From 08eec19c27a97ca08d247f35d4773f4b6808ef32 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 5 Apr 2016 15:54:29 +0200 Subject: Add Changelog generation --- ChangeLog | 2 ++ Makefile.am | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index e69de29..019ffa6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 b7c515b..d59bb5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,5 +37,14 @@ MAINTAINERCLEANFILES = \ missing \ mkinstalldirs +# 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 -- cgit v1.2.1