X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=71bc1bc008ca7f2c9199c2d4606d651f3af106fb;hb=13245184b602d8040fa4ac14497e4456397d31a4;hp=66f9c45794334670dc2e0b9f16dd4377535bef46;hpb=ccca0b3f6bdf4d5ebb360e96857f533a43da66d5;p=dockapps%2Fwmnotify.git diff --git a/Makefile.am b/Makefile.am index 66f9c45..71bc1bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,6 @@ -## Makefile.am -- Process this file with automake to produce Makefile.in +# Makefile.am -- Process this file with automake to produce Makefile.in + +.PHONY: changelog AUTOMAKE_OPTIONS = gnu @@ -6,19 +8,35 @@ SUBDIRS = src doc ## We want these in the dist tarball EXTRA_DIST = autogen.sh \ - $(ac_aux_dir)/acx_pthread.m4 \ - sound-samples \ + m4/acx_pthread.m4 \ pixmaps -ACLOCAL = aclocal -I $(ac_aux_dir) +ACLOCAL_AMFLAGS = -I m4 CLEANFILES = *~ -DISTCLEANFILES = .deps/*.P +MAINTAINERCLEANFILES = \ + Makefile.in \ + aclocal.m4 \ + configure \ + config-h.in \ + 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 \ + $(ac_aux_dir)/compile -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 \ - $(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