# 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/
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
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.
## 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.