From d69c3bf75074252359d168ab52e9669621ba5b7c Mon Sep 17 00:00:00 2001 From: hal9 Date: Thu, 4 Apr 2002 06:32:58 +0000 Subject: [PATCH 1/1] New dok targets for make readme. --- GNUmakefile.in | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 5da6a33b..9a97ce82 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: GNUmakefile.in,v 1.56 2002/04/03 22:28:03 gliptak Exp $ +# $Id: GNUmakefile.in,v 1.57 2002/04/04 00:36:36 gliptak Exp $ # # Written by and Copyright (C) 2001 the SourceForge # Privoxy team. http://www.privoxy.org/ @@ -527,7 +527,13 @@ dok-man: doc/source/ldpOK.dsl $(MAKE) groff2html; \ fi -dok: dok-devel dok-user dok-faq dok-man +readme: doc/source/ldpOK.dsl + cd doc/source && $(DB2HTML) -s ldpOK.dsl --nochunks readme.sgml > tmp.html &&\ + lynx -dump tmp.html > ../../README && rm -rf tmp.html + # kludge to force recreation on next run. Rodgrigo? + @rm -f doc/source/ldpOK.dsl + +dok: dok-devel dok-user dok-faq dok-man readme ## kludge to force recreation on next run. Rodgrigo? @rm -f doc/source/ldpOK.dsl @$(ECHO) Documentation created. @@ -557,6 +563,8 @@ redhat-dok: doc/source/ldpOK.dsl man2html cd doc/source/faq && $(DB) ../faq.sgml && cd .. && mv faq ../webserver cd doc/source && $(DB) -V nochunks faq.sgml > tmp.html && $(WDUMP) \ tmp.html > ../text/faq.txt && rm -rf tmp.html faq +## readme + $(MAKE) redhat-readme # kludge to force recreation on next run. Rodgrigo? @rm -f doc/source/ldpOK.dsl @@ -570,6 +578,13 @@ man2html: $(MAKE) groff2html; \ fi +## Make README +redhat-readme: doc/source/ldpOK.dsl + cd doc/source && $(DB) -V nochunks readme.sgml > tmp.html && $(WDUMP) \ + tmp.html > ../../README && rm -rf tmp.html + # kludge to force recreation on next run. Rodgrigo? + @rm -f doc/source/ldpOK.dsl + ############################################################################# # # Webserver @@ -699,6 +714,9 @@ install: all ## end: # $Log: GNUmakefile.in,v $ +# Revision 1.57 2002/04/04 00:36:36 gliptak +# always use pcre for matching +# # Revision 1.56 2002/04/03 22:28:03 gliptak # Removed references to gnu_regex # -- 2.39.2