summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-29 22:34:52 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-30 10:32:11 +0200
commit1f1a00502e2e70283fdf9a03567db74eecad7a02 (patch)
tree947f5a8147a1234fe23189824f880c3c0dfdaa16
parentf420d639df54bd8d47e84e1391e1a0e4584762a7 (diff)
build: 'assert-no-store-file-names' no longer depends on ChangeLog.
This reverts commit dfd248648f59af374bf2c74403f0e561464f6afe, which effectively disabled 'ChangeLog' generation. * Makefile.am (dist-hook): Depend on 'gen-ChangeLog', not '$(distdir)/ChangeLog'. (gen-ChangeLog): Remove dependency. Use "ChangeLog.tmp" as the temporary file name. (assert-no-store-file-names): Remove dependency. Exclude ChangeLog*.
-rw-r--r--Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 36f3bc5c27c..45807af8b89 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -627,7 +627,7 @@ guix-binary.%.tar.xz:
627 cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@" 627 cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
628 628
629 629
630dist-hook: $(distdir)/ChangeLog gen-AUTHORS gen-tarball-version 630dist-hook: gen-ChangeLog gen-AUTHORS gen-tarball-version
631dist-hook: assert-no-store-file-names 631dist-hook: assert-no-store-file-names
632dist-hook: doc-po-update 632dist-hook: doc-po-update
633 633
@@ -641,12 +641,12 @@ $(top_srcdir)/.version:
641gen-tarball-version: 641gen-tarball-version:
642 echo $(VERSION) > "$(distdir)/.tarball-version" 642 echo $(VERSION) > "$(distdir)/.tarball-version"
643 643
644gen-ChangeLog $(distdir)/ChangeLog: 644gen-ChangeLog:
645 $(AM_V_GEN)if test -d .git; then \ 645 $(AM_V_GEN)if test -d .git; then \
646 $(top_srcdir)/build-aux/gitlog-to-changelog \ 646 $(top_srcdir)/build-aux/gitlog-to-changelog \
647 > $(distdir)/cl-t; \ 647 > $(distdir)/ChangeLog.tmp; \
648 rm -f $(distdir)/ChangeLog; \ 648 rm -f $(distdir)/ChangeLog; \
649 mv $(distdir)/cl-t $(distdir)/ChangeLog; \ 649 mv $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog; \
650 fi 650 fi
651 651
652gen-AUTHORS: 652gen-AUTHORS:
@@ -791,13 +791,13 @@ update-NEWS: $(GOBJECTS)
791 $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data" 791 $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data"
792 792
793# Make sure we're not shipping a file that embeds a local /gnu/store file name. 793# Make sure we're not shipping a file that embeds a local /gnu/store file name.
794assert-no-store-file-names: $(distdir)/ChangeLog 794assert-no-store-file-names:
795 $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \ 795 $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \
796 --exclude=*.info-[0-9] --exclude=*.dot \ 796 --exclude=*.info-[0-9] --exclude=*.dot \
797 --exclude=*.eps --exclude-dir=bootstrap \ 797 --exclude=*.eps --exclude-dir=bootstrap \
798 --exclude=guix-manual.pot --exclude=guix-manual.*.po \ 798 --exclude=guix-manual.pot --exclude=guix-manual.*.po \
799 --exclude=guix-prettify.el \ 799 --exclude=guix-prettify.el \
800 --exclude=ChangeLog \ 800 --exclude=ChangeLog* \
801 -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \ 801 -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
802 then \ 802 then \
803 echo "error: store file names embedded in the distribution" >&2 ; \ 803 echo "error: store file names embedded in the distribution" >&2 ; \