X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=1868a3dfc73c03f4a734c64eac14336a71db3ef1;hb=077598a761f52af6f1bcc38806635c6c7ac44030;hp=1645ab54e83f8e50994c789b47ebe128ade5a55a;hpb=73d91e3b416c2f04d7f3285ede4bf52d2c5c89c8;p=hvutilities.git diff --git a/Makefile.am b/Makefile.am index 1645ab5..1868a3d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ ## Makefile.am -- Process this file with automake to produce Makefile.in +.PHONY: changelog + AUTOMAKE_OPTIONS = gnu SUBDIRS = scripts data @@ -11,8 +13,26 @@ ACLOCAL = aclocal -I $(ac_aux_dir) CLEANFILES = *~ -MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \ - stamp-h.in $(ac_aux_dir)/depcomp \ - $(ac_aux_dir)/install-sh $(ac_aux_dir)/missing \ - $(ac_aux_dir)/mkinstalldirs $(ac_aux_dir)/config.guess \ - $(ac_aux_dir)/config.sub $(ac_aux_dir)/ltmain.sh +MAINTAINERCLEANFILES = \ + Makefile.in \ + aclocal.m4 \ + configure \ + stamp-h.in \ + ChangeLog \ + $(ac_aux_dir)/depcomp \ + $(ac_aux_dir)/install-sh \ + $(ac_aux_dir)/missing \ + $(ac_aux_dir)/mkinstalldirs \ + $(ac_aux_dir)/config.guess \ + $(ac_aux_dir)/config.sub \ + $(ac_aux_dir)/ltmain.sh + +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