X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=ec5ddf2a68a2a93fad323cbad3566af75681ab1e;hb=refs%2Fheads%2Fautodoc;hp=fdf3a60719acfabe5bf50a927c5b82cfa9a01aeb;hpb=45c0e948e8b98c5034d1e76e32c549063d185811;p=hvgrip.git diff --git a/Makefile.am b/Makefile.am index fdf3a60..ec5ddf2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,47 @@ -SUBDIRS = po src pixmaps doc contrib +.PHONY: changelog + +SUBDIRS = data po src pixmaps doc contrib EXTRA_DIST = \ - grip.desktop \ - CREDITS \ - grip.spec.in + CREDITS \ + autogen.sh + +ACLOCAL_AMFLAGS = -I m4 + +LIBTOOL_MACROS = \ + m4/libtool.m4 \ + m4/ltoptions.m4 \ + m4/ltsugar.m4 \ + m4/ltversion.m4 \ + m4/lt~obsolete.m4 + +CLEANFILES = *~ + +MAINTAINERCLEANFILES = \ + ChangeLog \ + INSTALL \ + ABOUT-NLS \ + $(top_srcdir)/Makefile.in \ + $(top_srcdir)/aclocal.m4 \ + $(top_srcdir)/configure \ + $(top_srcdir)/config.h.in \ + $(top_srcdir)/stamp-h.in \ + $(ac_aux_dir)/depcomp \ + $(ac_aux_dir)/install-sh \ + $(ac_aux_dir)/missing \ + $(ac_aux_dir)/config.guess \ + $(ac_aux_dir)/config.sub \ + $(ac_aux_dir)/ltmain.sh \ + $(ac_aux_dir)/compile \ + $(ac_aux_dir)/config.rpath \ + $(LIBTOOL_MACROS) -Applicationsdir = $(datadir)/applications -Applications_DATA = grip.desktop +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