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: @[EMAIL PROTECTED]
 @[EMAIL PROTECTED]: @[EMAIL PROTECTED] scripts/makedoc

Reply via email to