]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
ensure changelog is fresh for make dist
authorElan Ruusamäe <glen@delfi.ee>
Fri, 23 Sep 2016 21:22:45 +0000 (00:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 23 Sep 2016 21:22:45 +0000 (00:22 +0300)
Makefile.am

index cb42ea92b3b015537ce11cf2bf157ff3a2b12ff6..1e7761fbf50c3e2d2b4ef0882be53227baec024a 100644 (file)
@@ -42,6 +42,11 @@ DISTCLEANFILES = \
 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
This page took 0.36205 seconds and 4 git commands to generate.