From: hal9 Date: Wed, 27 Mar 2002 03:05:35 +0000 (+0000) Subject: Added man2html target for docs (redhat-dok only for now) X-Git-Tag: v_2_9_5~8 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=5e4f796add41d271bf51ddd0fdbd77e804196575;p=privoxy.git Added man2html target for docs (redhat-dok only for now) --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 1e697f26..1b9f5dac 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: GNUmakefile.in,v 1.31 2002/03/26 14:00:18 swa Exp $ +# $Id: GNUmakefile.in,v 1.32 2002/03/26 22:29:54 swa Exp $ # # Written by and Copyright (C) 2001 the SourceForge # Privoxy team. http://www.privoxy.org/ @@ -75,6 +75,7 @@ JADEBIN = @JADEBIN@ DB = $(JADEBIN) -t sgml -ihtml -D.. -d ldpOK.dsl\#html DB2HTML = @DB2HTML@ DKPREFIX = @DKPREFIX@ +MAN2HTML = @MAN2HTML@ # Program to do LF->CRLF # @@ -412,7 +413,7 @@ dok: doc/source/ldpOK.dsl cd doc/source && $(DB2HTML) -s ldpOK.dsl faq.sgml && mv faq ../webserver cd doc/source && $(DB2HTML) -s ldpOK.dsl --nochunks faq.sgml > tmp.html && lynx -dump tmp.html > ../text/faq.txt && rm -rf tmp.html faq -redhat-dok: doc/source/ldpOK.dsl +redhat-dok: doc/source/ldpOK.dsl man2html mkdir -p doc/text doc/man doc/source/user-manual \ doc/source/developer-manual doc/source/faq ## user manual @@ -442,6 +443,11 @@ doc/source/ldpOK.dsl: cp doc/source/ldp.dsl doc/source/ldpOK.dsl; \ fi +man2html: + if [ "$(MAN2HTML)" != "false" ]; then \ + $(MAN2HTML) privoxy.1 |grep -v "^Content-type" > doc/webserver/man-page/privoxy-man-page.html; \ + fi + ############################################################################# # # Webserver @@ -557,6 +563,9 @@ install: all ## end: # $Log: GNUmakefile.in,v $ +# Revision 1.32 2002/03/26 22:29:54 swa +# we have a new homepage! +# # Revision 1.31 2002/03/26 14:00:18 swa # fixed make tarball, tarball-dist, tarball-clean #