bjori Sat Jun 30 15:12:32 2007 UTC
Modified files: /phpdoc Makefile.in Log: Strip namespaces when doing dsssl html and oldschool chm_xsl builds # This is (hopefully) just a temporary hack to make Derick happy http://cvs.php.net/viewvc.cgi/phpdoc/Makefile.in?r1=1.194&r2=1.195&diff_format=u Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.194 phpdoc/Makefile.in:1.195 --- phpdoc/Makefile.in:1.194 Sat Jun 23 16:13:28 2007 +++ phpdoc/Makefile.in Sat Jun 30 15:12:32 2007 @@ -16,7 +16,7 @@ # # -# $Id: Makefile.in,v 1.194 2007/06/23 16:13:28 bjori Exp $ +# $Id: Makefile.in,v 1.195 2007/06/30 15:12:32 bjori Exp $ # all: html @@ -128,6 +128,9 @@ FORCE: +stripns: + ${XSLTPROC} -o stripped.xml docbook/docbook-xsl/common/stripns.xsl .manual.xml + funclist.txt: FORCE @if test "$(PHP_SOURCE)" = "no"; then \ echo "WARNING: recreating the function list needs php sources" ;\ @@ -201,10 +204,10 @@ @[EMAIL PROTECTED]: @[EMAIL PROTECTED] $(BIGHTML_DEPS) -html/index.html: manual.xml $(HTML_DEPS) +html/index.html: manual.xml $(HTML_DEPS) stripns for i in `find en -type d -name figures`; do sect=`echo $$i | awk -F\/ '{print $$3}'`; for file in $$i/*; do if test -f $$file; then name=`basename $$file`; cp $$file html/figures/$$sect.$$name; fi; done; done; $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR) - $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml + $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) stripped.xml $(PHP) -q $(scriptdir)/html_syntax.php html dsssl html/ $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php en $(HACK_RTL_LANGS_PAGES) @@ -227,8 +230,8 @@ rm -rf ./howto/html && mkdir ./howto/html ${XSLTPROC} $(HOWTO_XSL_SHEET) ./howto/howto.xml -chm_xsl: manual.xml images_htmlhelp - ${XSLTPROC} $(CHM_XSL_SHEET) manual.xml +chm_xsl: manual.xml images_htmlhelp stripns + ${XSLTPROC} $(CHM_XSL_SHEET) stripped.xml phpweb_xsl: manual.xml images_php ${XSLTPROC} $(PHPXSL)/phpweb.xsl manual.xml