cvs: phpdoc / Makefile.in manual.xml.in

From: Date: Thu, 31 Jan 2002 09:56:18 +0000
Subject: cvs: phpdoc / Makefile.in manual.xml.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341751@lists.php.net to get a copy of this message
hholzgra Thu Jan 31 04:56:18 2002 EDT Modified files: /phpdoc manual.xml.in Makefile.in Log: this is a quick hack that deals with the problem of missing entities and ids for link targets in translations not perfect yet, but at least it doesn't break anything comments or better ideas anyone? Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.105 phpdoc/manual.xml.in:1.106 --- phpdoc/manual.xml.in:1.105 Sat Jan 26 18:11:11 2002 +++ phpdoc/manual.xml.in Thu Jan 31 04:56:18 2002 @@ -23,8 +23,12 @@ %global.chapters; %build.version; -]> +<!ENTITY % missing-entities SYSTEM "entities/missing-entities.ent"> +%missing-entities; +<!ENTITY missing-ids SYSTEM "entities/missing-ids.xml"> +]> + <book id="manual" lang="@LANG@"> <title>&PHPManual;</title> Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.106 phpdoc/Makefile.in:1.107 --- phpdoc/Makefile.in:1.106 Fri Jan 25 04:53:36 2002 +++ phpdoc/Makefile.in Thu Jan 31 04:56:18 2002 @@ -13,7 +13,7 @@ # # -# $Id: Makefile.in,v 1.106 2002/01/25 09:53:36 hholzgra Exp $ +# $Id: Makefile.in,v 1.107 2002/01/31 09:56:18 hholzgra Exp $ # all: html @@ -42,7 +42,7 @@ KDEVELOP_TOC_STYLESHEET=dsssl/kdevelop_toc.dsl XMLDCL=$(srcdir)/dtds/dbxml-@DOCBOOK_VERSION@/phpdocxml.dcl -HTML_DEPS=$(HTML_STYLESHEET) dsssl/html-common.dsl dsssl/html-locale.dsl.in dsssl/common.dsl.in zendapi +HTML_DEPS=$(HTML_STYLESHEET) dsssl/html-common.dsl dsssl/html-locale.dsl.in dsssl/common.dsl.in zendapi entities HOWTO_DEPS=$(HOWTO_STYLESHEET) dsssl/html-common.dsl dsssl/html-locale.dsl.in dsssl/common.dsl.in howto/howto.ent PRINT_DEPS=$(PRINT_STYLESHEET) dsssl/common.dsl.in dsssl/print.dsl.in zendapi PHPWEB_DEPS=$(PHPWEB_STYLESHEET) dsssl/html-common.dsl dsssl/common.dsl zendapi @@ -58,6 +58,11 @@ @AUTOGENERATED_RULES@ +entities: FORCE + $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml 2>&1 | grep "not defined" | sed -e's/^.* "/<!ENTITY /g' | sed -e's/".*/ "???">/g' > entities/missing-entities.ent + $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml 2>&1 | grep non-existent | sed -e"s/^.* ID /<para id=/g"| sed -e"s/$$/<\/para>/g" > entities/missing-ids.tmp + + manual.xml: $(srcdir)/manual.xml.in .manual.xml CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status @@ -224,7 +229,7 @@ # test all possible errors test: manual.xml if test ! -e funcindex.xml; then touch funcindex.xml; fi - $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml + $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml # ignore missing IDs and check if the manual can be generated anyway test_man_gen: manual.xml

« previous php.doc (#969341751) next »