From b9c9aa017b85e7854994f00383a941cbce3d97d9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 5 Apr 2016 13:55:49 +0200 Subject: Add Changelog generation --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index dffd58f..9b02ac4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,4 +25,14 @@ MAINTAINERCLEANFILES = \ $(srcdir)/m4/gtk-doc.m4 \ $(srcdir)/m4/intltool.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 -- cgit v1.2.1