From 3045fe52ed23d7c812f5c9141de238582d32e9d7 Mon Sep 17 00:00:00 2001 From: hal9 Date: Tue, 2 Apr 2002 03:46:24 +0000 Subject: [PATCH] Rewrite ldpOK.dsl so that sections are NOT numbered on FAQ, in an effort to make the Table of Contents not so 'busy' looking. SuSE needs testing :) --- GNUmakefile.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 4b292044..c3162814 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: GNUmakefile.in,v 1.48 2002/03/30 19:04:06 swa Exp $ +# $Id: GNUmakefile.in,v 1.49 2002/03/30 22:20:12 swa Exp $ # # Written by and Copyright (C) 2001 the SourceForge # Privoxy team. http://www.privoxy.org/ @@ -496,6 +496,8 @@ dok-user: doc/source/ldpOK.dsl dok-faq: doc/source/ldpOK.dsl mkdir -p doc/text rm -rf doc/webserver/faq +# Turn off section numbering for FAQ + sed 's/(define %section-autolabel% #t)/(define %section-autolabel% #f)/' doc/source/ldpOK.dsl > tmp.dsl && mv -f tmp.dsl 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 @@ -539,10 +541,12 @@ redhat-dok: doc/source/ldpOK.dsl man2html developer-manual ## faq rm -rf doc/webserver/faq +# Turn off section numbering for FAQ + sed 's/(define %section-autolabel% #t)/(define %section-autolabel% #f)/' doc/source/ldpOK.dsl > tmp.dsl && mv -f tmp.dsl doc/source/ldpOK.dsl 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 -## kludge to force recreation on next run. Rodgrigo? +# kludge to force recreation on next run. Rodgrigo? @rm -f doc/source/ldpOK.dsl # For those with man2html ala RH7's. @@ -682,6 +686,9 @@ install: all ## end: # $Log: GNUmakefile.in,v $ +# Revision 1.49 2002/03/30 22:20:12 swa +# cd didn't work. neither did find. +# # Revision 1.48 2002/03/30 19:04:06 swa # people release differently. no good. # I want to make parts of the docs only. -- 2.39.2