X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=684e6722f0bcf6dc2728f4c122f8a55f3f87a976;hb=c6cd8ab8023a92c481cfbae3922f71dfa0f9ca4e;hp=645ac08e11d89e9281c2f532e84ef6ae2cf6fe11;hpb=5117bf72ce1b2f55ad84358ebff9408f167f9421;p=hvgrip.git diff --git a/Makefile.am b/Makefile.am index 645ac08..684e672 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +.PHONY: changelog + SUBDIRS = po src pixmaps doc contrib EXTRA_DIST = \ @@ -10,10 +12,14 @@ Applicationsdir = $(datadir)/applications Applications_DATA = grip.desktop ACLOCAL = aclocal -I $(ac_aux_dir) +ACLOCAL_AMFLAGS = -I m4 CLEANFILES = *~ MAINTAINERCLEANFILES = \ + ChangeLog \ + INSTALL \ + ABOUT-NLS \ $(top_srcdir)/Makefile.in \ $(top_srcdir)/aclocal.m4 \ $(top_srcdir)/configure \ @@ -25,4 +31,15 @@ MAINTAINERCLEANFILES = \ $(ac_aux_dir)/config.guess \ $(ac_aux_dir)/config.sub \ $(ac_aux_dir)/ltmain.sh \ - $(ac_aux_dir)/compile + $(ac_aux_dir)/compile \ + $(ac_aux_dir)/config.rpath + +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