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: http://git.ipfire.org/?a=commitdiff_plain;h=11c2fb04467520b82f2251629710e6d4a0798700;p=thirdparty%2Fcurl.git 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 5ebc7ee982..dc66067cfb 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 a1509819c6..f655ea3651 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