gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 02/208: dist: make the hugehelp.c not get regenerat


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 02/208: dist: make the hugehelp.c not get regenerated unnecessarily
Date: Wed, 09 Aug 2017 17:33:19 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 11c2fb04467520b82f2251629710e6d4a0798700
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Jun 13 22:03:37 2017 +0200

    dist: make the hugehelp.c not get regenerated unnecessarily
    
    The maketgz script now makes sure the generated hugehelp.c file in the
    tarball is newer than the generated curl.1 man page, so that it doesn't
    have to get unnecessarily rebuilt first thing in a typical build. It
    thus also removes the need for perl to build off a plain release
    tarball.
    
    Fixes #1565
---
 Makefile.am | 2 +-
 maketgz     | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 5ebc7ee98..dc66067cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -170,7 +170,7 @@ dist-hook:
        (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \
        for file in $$distit; do \
          strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
-         cp $$file $(distdir)$$strip; \
+         cp -p $$file $(distdir)$$strip; \
        done)
 
 html:
diff --git a/maketgz b/maketgz
index a1509819c..f655ea365 100755
--- a/maketgz
+++ b/maketgz
@@ -139,6 +139,9 @@ fi
 echo "update man pages"
 ./scripts/updatemanpages.pl $version
 
+# make the generated file newer than the man page
+touch src/tool_hugehelp.c
+
 ############################################################################
 #
 # Update the IDE files

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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