From: Daniel Stenberg Date: Tue, 13 Jun 2017 20:03:37 +0000 (+0200) Subject: dist: make the hugehelp.c not get regenerated unnecessarily X-Git-Tag: curl-7_55_0~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11c2fb04467520b82f2251629710e6d4a0798700;p=curl 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 --- 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