Re: Livedocs without scripts
| From: | Nuno Lopes | Date: | Sun, 11 Jan 2004 17:29:18 +0000 |
| Subject: | Re: Livedocs without scripts | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358118@lists.php.net to get a copy of this message | ||
What about this patch for makefile.in?
You can use 'make html' or 'make id=function.xxx'.
Nuno
---------------------------
Index: Makefile.in
===================================================================
RCS file: /repository/phpdoc/Makefile.in,v
retrieving revision 1.146
diff -u -r1.146 Makefile.in
--- Makefile.in 3 Jan 2004 12:32:15 -0000 1.146
+++ Makefile.in 11 Jan 2004 17:26:15 -0000
@@ -193,6 +193,9 @@
$(PHP) -q $(scriptdir)/fixphpweb.php
pwd/php
php/index.php: manual.xml $(PHPWEB_DEPS)
+ifdef id
+ xsltproc --stringparam rootid $(id) xsl/html.xsl manual.xml
+else
$(PHP) -q $(scriptdir)/phpweb-entities.php pwd phpweb
@test -d php || mkdir php
$(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR)
@@ -201,6 +204,7 @@
$(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php en
$(PHP) -q $(scriptdir)/phpweb-entities.php pwd remove
$(HACK_RTL_LANGS_PHPWEB)
+endif
palmdoc: @MANUAL@.doc.pdb
@MANUAL@.doc.pdb: @MANUAL@.txt scripts/makedoc