When the built-in manual is disabled, we generate a function doing nothing

just to avoid making a totally empty file. Just to avoid compiler warnings.
This commit is contained in:
Daniel Stenberg 2004-02-20 15:39:37 +00:00
parent b2e1bf7e7d
commit 907bb78f3e

View File

@ -78,5 +78,7 @@ endif
else # USE_MANUAL
# built-in manual has been disabled, make a blank file
$(HUGE):
echo "/* explicitly disabled */" >$(HUGE)
echo "/* built-in manual is disabled, blank function */" > $(HUGE)
echo '#include "hugehelp.h"' >> $(HUGE)
echo "void hugehelp(void) {}" >>$(HUGE)
endif