X-Git-Url: https://git.tld-linux.org/?p=rc-scripts.git;a=blobdiff_plain;f=Makefile.am;h=1e7761fbf50c3e2d2b4ef0882be53227baec024a;hp=aabcb6fbd206427fe27efe9d972cc8357d76ec56;hb=49ade4f4b5b1978db4561d62063008a339a1526f;hpb=2d25be2988d266692b556fbcc89c5b9108cf16f8 diff --git a/Makefile.am b/Makefile.am index aabcb6f..1e7761f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,17 @@ EXTRA_DIST = \ $(sbin_SCRIPTS) \ $(bin_SCRIPTS) +DISTCLEANFILES = \ + ChangeLog + +ChangeLog: + $(top_srcdir)/changelog.sh $(top_builddir) + +dist-hook: + rm -f $(top_builddir)/ChangeLog + $(MAKE) -C $(top_builddir) ChangeLog + cp -pf $(top_builddir)/ChangeLog $(top_distdir)/ChangeLog + install-data-hook: install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE) [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache