guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: build: 'assert-no-store-file-names' no longer depends on ChangeLo


From: guix-commits
Subject: 01/04: build: 'assert-no-store-file-names' no longer depends on ChangeLog.
Date: Tue, 30 Apr 2019 04:53:54 -0400 (EDT)

civodul pushed a commit to branch version-1.0.0
in repository guix.

commit 1f1a00502e2e70283fdf9a03567db74eecad7a02
Author: Ludovic Courtès <address@hidden>
Date:   Mon Apr 29 22:34:52 2019 +0200

    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*.
---
 Makefile.am | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 36f3bc5..45807af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -627,7 +627,7 @@ guix-binary.%.tar.xz:
        cp "$$tarball" "address@hidden" ; mv "address@hidden" "$@"
 
 
-dist-hook: $(distdir)/ChangeLog gen-AUTHORS gen-tarball-version
+dist-hook: gen-ChangeLog gen-AUTHORS gen-tarball-version
 dist-hook: assert-no-store-file-names
 dist-hook: doc-po-update
 
@@ -641,12 +641,12 @@ $(top_srcdir)/.version:
 gen-tarball-version:
        echo $(VERSION) > "$(distdir)/.tarball-version"
 
-gen-ChangeLog $(distdir)/ChangeLog:
+gen-ChangeLog:
        $(AM_V_GEN)if test -d .git; then                \
          $(top_srcdir)/build-aux/gitlog-to-changelog   \
-           > $(distdir)/cl-t;                          \
+           > $(distdir)/ChangeLog.tmp;                 \
          rm -f $(distdir)/ChangeLog;                   \
-         mv $(distdir)/cl-t $(distdir)/ChangeLog;      \
+         mv $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog;     \
        fi
 
 gen-AUTHORS:
@@ -791,13 +791,13 @@ update-NEWS: $(GOBJECTS)
          $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data"
 
 # Make sure we're not shipping a file that embeds a local /gnu/store file name.
-assert-no-store-file-names: $(distdir)/ChangeLog
+assert-no-store-file-names:
        $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info                  
\
             --exclude=*.info-[0-9] --exclude=*.dot                             
\
             --exclude=*.eps --exclude-dir=bootstrap                            
\
                 --exclude=guix-manual.pot --exclude=guix-manual.*.po           
\
             --exclude=guix-prettify.el                                         
\
-            --exclude=ChangeLog                                                
\
+            --exclude=ChangeLog*                                               
\
             -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ;                        
\
        then                                                                    
\
          echo "error: store file names embedded in the distribution" >&2 ;     
\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]