X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=a60fe2f523e8bb6f36edb015e8dc319d7e73041e;hb=a43ef7612a6e6d650f5d7368b7ac9e0771b07ff6;hp=04bc313ced548e678c7729eb9b86ddea83f083c6;hpb=316a155993a26912a1fb0506558b3b66197edf09;p=hvgrip.git diff --git a/Makefile.am b/Makefile.am index 04bc313..a60fe2f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +.PHONY: changelog + SUBDIRS = po src pixmaps doc contrib EXTRA_DIST = \ @@ -15,6 +17,7 @@ ACLOCAL_AMFLAGS = -I m4 CLEANFILES = *~ MAINTAINERCLEANFILES = \ + ChangeLog \ $(top_srcdir)/Makefile.in \ $(top_srcdir)/aclocal.m4 \ $(top_srcdir)/configure \ @@ -27,3 +30,13 @@ MAINTAINERCLEANFILES = \ $(ac_aux_dir)/config.sub \ $(ac_aux_dir)/ltmain.sh \ $(ac_aux_dir)/compile + +changelog: + @if test -d $(srcdir)/.git; then \ + $(srcdir)/build-aux/gitlog-to-changelog \ + --format='%s%n%n%b%n' \ + --no-cluster \ + --strip-tab \ + --strip-cherry-pick \ + >ChangeLog; \ + fi