X-Git-Url: https://git.tld-linux.org/?p=rc-scripts.git;a=blobdiff_plain;f=Makefile.am;h=8d84133d8333b9d4ca307345f732e3a3659c8bb8;hp=aabcb6fbd206427fe27efe9d972cc8357d76ec56;hb=HEAD;hpb=12e7a5b1a4ca9c8f03ee66db198426770cc84300 diff --git a/Makefile.am b/Makefile.am index aabcb6f..8d84133 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,16 @@ 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 + install-data-hook: install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE) [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache