X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=1868a3dfc73c03f4a734c64eac14336a71db3ef1;hb=59fb465bf6817676c612161fb57af10d0381120a;hp=67096747c35d77fe41b6e7d3fb74a0c6e9d8d93b;hpb=5b1ff87ac527d9481d9f3f2984794058d8938c1f;p=hvutilities.git diff --git a/Makefile.am b/Makefile.am index 6709674..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,10 +13,26 @@ ACLOCAL = aclocal -I $(ac_aux_dir) CLEANFILES = *~ -DISTCLEANFILES = .deps/*.P +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 -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 +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