Loading src/Makefile.am +4 −1 Original line number Diff line number Diff line Loading @@ -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 Loading src/mkhelp.pl +15 −2 Original line number Diff line number Diff line Loading @@ -112,6 +112,10 @@ print <<HEAD * NEVER EVER edit this manually, fix the mkhelp.pl script instead! * Generation time: $now */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_MANUAL #include "hugehelp.h" #include <stdio.h> HEAD Loading Loading @@ -179,6 +183,7 @@ void hugehelp(void) } EOF ; foot(); exit; } else { Loading Loading @@ -211,5 +216,13 @@ for(@out) { } print ", stdout) ;\n}\n" print ", stdout) ;\n}\n"; foot(); sub foot { print <<FOOT #endif /* USE_MANUAL */ FOOT ; } Loading
src/Makefile.am +4 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
src/mkhelp.pl +15 −2 Original line number Diff line number Diff line Loading @@ -112,6 +112,10 @@ print <<HEAD * NEVER EVER edit this manually, fix the mkhelp.pl script instead! * Generation time: $now */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_MANUAL #include "hugehelp.h" #include <stdio.h> HEAD Loading Loading @@ -179,6 +183,7 @@ void hugehelp(void) } EOF ; foot(); exit; } else { Loading Loading @@ -211,5 +216,13 @@ for(@out) { } print ", stdout) ;\n}\n" print ", stdout) ;\n}\n"; foot(); sub foot { print <<FOOT #endif /* USE_MANUAL */ FOOT ; }