make the generated hugehelp.c file use the USE_MANUAL define so that it

will be properly built with configure --disable-manual even if the source
file is already present
This commit is contained in:
Daniel Stenberg
2004-04-25 08:13:07 +00:00
parent b9432d1296
commit 68a3cbe384
2 changed files with 19 additions and 3 deletions

View File

@@ -74,7 +74,10 @@ $(HUGE): $(README) $(MANPAGE) mkhelp.pl
else # HAVE_LIBZ
# This generates the hugehelp.c file uncompressed only
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(HUGE)
echo '#ifdef HAVE_CONFIG_H' > $(HUGE)
echo '#include "config.h"' >> $(HUGE)
echo '#endif' >> $(HUGE)
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
endif
else # USE_MANUAL