From 7f1ae222ba1d6da175ea428f2caf11de6ce9560f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 5 Apr 2016 23:34:35 +0200 Subject: Add Changelog generation --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.1