diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 22:39:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 22:39:37 +0000 |
commit | 3a0192bea65753769e89e95449d6939720017124 (patch) | |
tree | afd98280eb4577725ea9020092540394c4b0fe5b | |
parent | 37685848d1b0ef78043f6f725dc69e662ee4c691 (diff) |
Use the nroff option figured out by the configure script. An attempt to
make this better on more systems.
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2da8e896e..05c5d328b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -38,7 +38,7 @@ curl_LDADD = ../lib/libcurl.la curl_DEPENDENCIES = ../lib/libcurl.la BUILT_SOURCES = hugehelp.c CLEANFILES = hugehelp.c -NROFF=@NROFF@ +NROFF=@NROFF@ @MANOPT@ # figured out by the configure script EXTRA_DIST = mkhelp.pl curlmsg.msg makefile.dj \ Makefile.vc6 Makefile.b32 Makefile.m32 Makefile.riscos config.h.in \ @@ -60,12 +60,12 @@ $(HUGE): $(README) $(MANPAGE) mkhelp.pl echo '#include "config.h"' >> $(HUGE) echo '#endif' >> $(HUGE) echo '#ifndef HAVE_LIBZ' >> $(HUGE) - $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE) + $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE) echo '#else' >> $(HUGE) - $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE) + $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE) echo '#endif /* HAVE_LIBZ */' >> $(HUGE) else # This generates the hugehelp.c file uncompressed only $(HUGE): $(README) $(MANPAGE) mkhelp.pl - $(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(HUGE) + $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(HUGE) endif |