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
This commit is contained in:
Daniel Stenberg 2017-06-13 22:03:37 +02:00
parent 73a2fcea0b
commit 11c2fb0446
2 changed files with 4 additions and 1 deletions

View File

@ -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:

View File

@ -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