ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src man plugin po EXTRA_DIST = @PACKAGE@.spec \ intltool-extract.in \ intltool-merge.in \ intltool-update.in DISTCLEAN_FILES = @PACKAGE@.spec \ intltool-extract \ intltool-merge \ intltool-update MAINTAINERCLEANFILES = \ m4/libtool.m4 \ m4/lt~obsolete.m4 \ m4/ltoptions.m4 \ m4/ltsugar.m4 \ m4/ltversion.m4 dist-hook: gen-ChangeLog # Generate the ChangeLog file (with all entries since the switch to git) # and insert it into the directory we're about to use to create a tarball. .PHONY: gen-ChangeLog gen-ChangeLog: if test -d .git || test -d ../.git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi