goba Sat Sep 8 14:00:51 2001 EDT Modified files: /phpdoc Makefile.in howto.dsl.in html.dsl.in Log: Moving to the new howto made by Daniel Backem, the make howto will generate html files in the howto/html directory, also some corrections in the html.dsl.in to be precise. Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.65 phpdoc/Makefile.in:1.66 --- phpdoc/Makefile.in:1.65 Sun Sep 2 19:46:39 2001 +++ phpdoc/Makefile.in Sat Sep 8 14:00:51 2001 @@ -17,7 +17,7 @@ # # -# $Id: Makefile.in,v 1.65 2001/09/02 23:46:39 jah Exp $ +# $Id: Makefile.in,v 1.66 2001/09/08 18:00:51 goba Exp $ # VPATH=@srcdir@ @@ -37,7 +37,8 @@ QUICKREF_STYLESHEET=quickref.dsl KDEVELOP_TOC_STYLESHEET=kdevelop_toc.dsl -HTML_DEPS=$(HTML_STYLESHEET) html-common.dsl common.dsl +HTML_DEPS=$(HTML_STYLESHEET) html-common.dsl html-locale.dsl common.dsl +HOWTO_DEPS=$(HOWTO_STYLESHEET) html-common.dsl html-locale.dsl common.dsl PRINT_DEPS=$(PRINT_STYLESHEET) common.dsl PHPWEB_DEPS=$(PHPWEB_STYLESHEET) html-common.dsl common.dsl QUICKREF_DEPS=quickref.dsl Makefile @@ -76,7 +77,7 @@ dvi: manual.dvi ps: manual.ps pdf: @MANUAL@.pdf -howto: howto.html +howto: howto/html/index.html FORCE: @@ -167,8 +168,8 @@ manual.tar.bz2: html/index.html -rm -f $@ && (cd html; tar -cf - *.html) | bzip2 -9 > manual.tar.bz2 -howto.html: $(srcdir)/howto.xml $(HOWTO_DEPS) global.ent - $(JADE) $(CATALOG) -d $(HOWTO_STYLESHEET) -t sgml $(srcdir)/phpdocxml.dcl $(srcdir)/howto.xml +howto/html/index.html: howto/phpdoc-howto.xml $(HOWTO_DEPS) + $(JADE) -i lang-en $(CATALOG) -d $(HOWTO_STYLESHEET) -V use-output-dir -t sgml +$(srcdir)/phpdocxml.dcl $(srcdir)/howto/phpdoc-howto.xml tex latex: $(srcdir)/manual.tex Index: phpdoc/howto.dsl.in diff -u phpdoc/howto.dsl.in:1.3 phpdoc/howto.dsl.in:1.4 --- phpdoc/howto.dsl.in:1.3 Wed Mar 8 22:43:35 2000 +++ phpdoc/howto.dsl.in Sat Sep 8 14:00:51 2001 @@ -1,29 +1,41 @@ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl SYSTEM "@DOCBOOK_HTML@" CDATA DSSSL> -<!ENTITY common.dsl SYSTEM "common.dsl"> +<!ENTITY html-common.dsl SYSTEM "@srcdir@/html-common.dsl"> +<!ENTITY html-locale.dsl SYSTEM "@srcdir@/html-locale.dsl"> +<!ENTITY common.dsl SYSTEM "@srcdir@/common.dsl"> +<!ENTITY version.dsl SYSTEM "@srcdir@/version.dsl"> ]> <!-- - $Id: howto.dsl.in,v 1.3 2000/03/09 03:43:35 ssb Exp $ + $Id: howto.dsl.in,v 1.4 2001/09/08 18:00:51 goba Exp $ - This file contains HTML-specific stylesheet customization for - the SGML HOWTO. + HTML-specific stylesheet customization for the PHPDOC howto. --> <style-sheet> -<style-specification id="local-docbook" use="docbook"> +<style-specification id="docbook-php-html" use="docbook"> <style-specification-body> (define %html-ext% ".html") +(define %output-dir% "howto/html") + +(define %generate-article-toc% + ;; Should a Table of Contents be produced for Articles? + #t) (define (toc-depth nd) - (if (string=? (gi nd) "article") - 2 ; the depth of the top-level TOC - 1 ; the depth of all other TOCs - )) + 2) + +(define %section-autolabel% + ;; Are sections enumerated? + #t) + +&html-common.dsl; +&html-locale.dsl; &common.dsl; +&version.dsl; </style-specification-body> </style-specification> Index: phpdoc/html.dsl.in diff -u phpdoc/html.dsl.in:1.6 phpdoc/html.dsl.in:1.7 --- phpdoc/html.dsl.in:1.6 Tue Feb 6 19:03:49 2001 +++ phpdoc/html.dsl.in Sat Sep 8 14:00:51 2001 @@ -1,14 +1,14 @@ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl SYSTEM "@DOCBOOK_HTML@" CDATA DSSSL> <!ENTITY html-common.dsl SYSTEM "@srcdir@/html-common.dsl"> -<!ENTITY html-locale.dsl SYSTEM "html-locale.dsl"> -<!ENTITY common.dsl SYSTEM "common.dsl"> +<!ENTITY html-locale.dsl SYSTEM "@srcdir@/html-locale.dsl"> +<!ENTITY common.dsl SYSTEM "@srcdir@/common.dsl"> <!ENTITY version.dsl SYSTEM "@srcdir@/version.dsl"> ]> <!-- - $Id: html.dsl.in,v 1.6 2001/02/07 00:03:49 jimw Exp $ + $Id: html.dsl.in,v 1.7 2001/09/08 18:00:51 goba Exp $ HTML-specific stylesheet customization.