X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Makefile.am;h=1e7761fbf50c3e2d2b4ef0882be53227baec024a;hb=aeaa34bf39581eb517ff66fc859bfea43e23f6f8;hp=aabcb6fbd206427fe27efe9d972cc8357d76ec56;hpb=f7943bf696b39d5b4ce4280b67f2274a0b7e0fd6;p=projects%2Frc-scripts.git diff --git a/Makefile.am b/Makefile.am index aabcb6fb..1e7761fb 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