aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-30 07:33:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-30 07:33:41 +0000
commit6809a906bb70d43335a22df499c98a035d27c716 (patch)
tree433ede2daf200793ed1ed8adabdae7658244cdcc
parent1c35cbcc07f89913ed1025c05ab3dbd8683b7f01 (diff)
Make sure to generate an uncompressed hugehelp.c file for inclusion in
the distribution archive, as it isn't sure zlib is present everywhere. Those who care much for compressed help should regenerate the file.
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1699c96e7..5a6e7bebd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -46,4 +46,8 @@ MKHELP=$(top_srcdir)/src/mkhelp.pl
# This generates the hugehelp.c file
hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
rm -f hugehelp.c
- $(NROFF) -man $(MANPAGE) | $(PERL) -s $(MKHELP) $(MKHELPOPT) $(README) > hugehelp.c
+ $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(MKHELPOPT) $(README) > hugehelp.c
+
+# for distribution, generate an uncompressed help file!
+dist-hook:
+ $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(distdir)/hugehelp.c