mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Use the nroff option figured out by the configure script. An attempt to
make this better on more systems.
This commit is contained in:
parent
37685848d1
commit
3a0192bea6
@ -38,7 +38,7 @@ curl_LDADD = ../lib/libcurl.la
|
|||||||
curl_DEPENDENCIES = ../lib/libcurl.la
|
curl_DEPENDENCIES = ../lib/libcurl.la
|
||||||
BUILT_SOURCES = hugehelp.c
|
BUILT_SOURCES = hugehelp.c
|
||||||
CLEANFILES = hugehelp.c
|
CLEANFILES = hugehelp.c
|
||||||
NROFF=@NROFF@
|
NROFF=@NROFF@ @MANOPT@ # figured out by the configure script
|
||||||
|
|
||||||
EXTRA_DIST = mkhelp.pl curlmsg.msg makefile.dj \
|
EXTRA_DIST = mkhelp.pl curlmsg.msg makefile.dj \
|
||||||
Makefile.vc6 Makefile.b32 Makefile.m32 Makefile.riscos config.h.in \
|
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 '#include "config.h"' >> $(HUGE)
|
||||||
echo '#endif' >> $(HUGE)
|
echo '#endif' >> $(HUGE)
|
||||||
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
||||||
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
||||||
echo '#else' >> $(HUGE)
|
echo '#else' >> $(HUGE)
|
||||||
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
|
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
|
||||||
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
|
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
|
||||||
else
|
else
|
||||||
# This generates the hugehelp.c file uncompressed only
|
# This generates the hugehelp.c file uncompressed only
|
||||||
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
||||||
$(NROFF) -man $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(HUGE)
|
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) > $(HUGE)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user