added "make dok" section to generate html pages from
[privoxy.git] / Makefile.in
index 27e1e3f..b1a0892 100644 (file)
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
-# $Id: Makefile.in,v 1.21 2001/09/10 11:12:49 oes Exp $
+# $Id: Makefile.in,v 1.22 2001/09/10 16:31:23 swa Exp $
 #
 # Written by and Copyright (C) 2001 the SourceForge
 # IJBSWA team.  http://ijbswa.sourceforge.net
 # Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
 # $Log: Makefile.in,v $
+# Revision 1.22  2001/09/10 16:31:23  swa
+# buildroot definition in the specfile fucks up the build
+# process under suse. hence I moved it to the "rpm -ta"
+# command
+#
 # Revision 1.21  2001/09/10 11:12:49  oes
 # Turning on -Wall
 #
@@ -318,6 +323,24 @@ tarball-dist:
        chmod a+r ../../ijb-distribution-$(VERSION).tar.gz
        @$(ECHO) Tarball with binary created.
 
+#############################################################################
+#
+# Documentation
+#
+# converts doc/source/*.sgml into html, text and man pages
+#
+#############################################################################
+dok:
+       mkdir -p doc/text doc/man
+#  user manual
+       rm -rf doc/webserver/user-manual
+       cd doc/source && db2html -s ldp.dsl user-manual.sgml && mv user-manual ../webserver
+#  developer manual
+       rm -rf doc/webserver/developer-manual
+       cd doc/source && db2html -s ldp.dsl developer-manual.sgml && mv developer-manual ../webserver
+#  faq
+       rm -rf doc/webserver/faq
+       cd doc/source && db2html -s ldp.dsl faq.sgml && mv faq ../webserver
 
 #############################################################################
 # Source file dependencies