Rewrite ldpOK.dsl so that sections are NOT numbered on FAQ, in an effort
authorhal9 <hal9@users.sourceforge.net>
Tue, 2 Apr 2002 03:46:24 +0000 (03:46 +0000)
committerhal9 <hal9@users.sourceforge.net>
Tue, 2 Apr 2002 03:46:24 +0000 (03:46 +0000)
to make the Table of Contents not so 'busy' looking. SuSE needs testing :)

GNUmakefile.in

index 4b29204..c316281 100644 (file)
@@ -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.