cvs: /phpdoc lang-en.ent /phpdoc/en chapters.ent /phpdoc Makefile.in configure.in manual.sgml manual.sgml.in

From: Date: Sun, 28 Nov 1999 00:08:18 +0000
Subject: cvs: /phpdoc lang-en.ent /phpdoc/en chapters.ent /phpdoc Makefile.in configure.in manual.sgml manual.sgml.in
Groups: php.dev 
Request: Send a blank email to php-dev+get-13194@lists.php.net to get a copy of this message
ssb Sat Nov 27 19:08:18 1999 EDT Added files: /phpdoc lang-en.ent /phpdoc/en chapters.ent Modified files: /phpdoc Makefile.in configure.in manual.sgml manual.sgml.in Log: Simple multi-language support in place. Currently hardcoded to "en"glish, but we can add a configure option to set up the Makefile for other languages now. Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.21 phpdoc/Makefile.in:1.22 --- phpdoc/Makefile.in:1.21 Sat Nov 27 15:34:04 1999 +++ phpdoc/Makefile.in Sat Nov 27 19:08:16 1999 @@ -26,12 +26,13 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.21 1999/11/27 20:34:04 ssb Exp $ +# $Id: Makefile.in,v 1.22 1999/11/28 00:08:16 ssb Exp $ # VPATH=@srcdir@ srcdir=@srcdir@ PHP_SOURCE=@PHP_SOURCE@ +LANG=@LANG@ # For Suse 6.2, uncomment the CATALOG definition below. # Also modify /usr/share/sgml/docbk30/docbook.dcl: @@ -48,86 +49,86 @@ all: html -PREFACE=preface.sgml \ - bookinfo.sgml +PREFACE=$(LANG)/preface.sgml \ + $(LANG)/bookinfo.sgml -APPENDICES=appendices/migration.sgml \ - appendices/escaping.sgml \ - appendices/regexp.sgml \ - appendices/http-stuff.sgml \ - appendices/history.sgml \ - appendices/debugger.sgml \ - appendices/phpdevel.sgml - -CHAPTERS=chapters/copyright.sgml \ - chapters/intro.sgml \ - chapters/config.sgml \ - chapters/install.sgml \ - chapters/security.sgml \ - features/connection-handling.sgml \ - features/file-upload.sgml \ - features/cookies.sgml \ - features/http-auth.sgml \ - features/error-handling.sgml \ - features/images.sgml \ - features/remote-files.sgml \ - language/basic-syntax.sgml \ - language/operators.sgml \ - language/constants.sgml \ - language/types.sgml \ - language/control-structures.sgml \ - language/functions.sgml \ - language/oop.sgml \ - language/variables.sgml \ - language/expressions.sgml +APPENDICES=$(LANG)/appendices/migration.sgml \ + $(LANG)/appendices/escaping.sgml \ + $(LANG)/appendices/regexp.sgml \ + $(LANG)/appendices/http-stuff.sgml \ + $(LANG)/appendices/history.sgml \ + $(LANG)/appendices/debugger.sgml \ + $(LANG)/appendices/phpdevel.sgml + +CHAPTERS=$(LANG)/chapters/copyright.sgml \ + $(LANG)/chapters/intro.sgml \ + $(LANG)/chapters/config.sgml \ + $(LANG)/chapters/install.sgml \ + $(LANG)/chapters/security.sgml \ + $(LANG)/features/connection-handling.sgml \ + $(LANG)/features/file-upload.sgml \ + $(LANG)/features/cookies.sgml \ + $(LANG)/features/http-auth.sgml \ + $(LANG)/features/error-handling.sgml \ + $(LANG)/features/images.sgml \ + $(LANG)/features/remote-files.sgml \ + $(LANG)/language/basic-syntax.sgml \ + $(LANG)/language/operators.sgml \ + $(LANG)/language/constants.sgml \ + $(LANG)/language/types.sgml \ + $(LANG)/language/control-structures.sgml \ + $(LANG)/language/functions.sgml \ + $(LANG)/language/oop.sgml \ + $(LANG)/language/variables.sgml \ + $(LANG)/language/expressions.sgml FUNCREF= \ - functions/array.sgml \ - functions/adabas.sgml \ - functions/bc.sgml \ - functions/datetime.sgml \ - functions/dbase.sgml \ - functions/dbm.sgml \ - functions/dl.sgml \ - functions/dir.sgml \ - functions/exec.sgml \ - functions/filepro.sgml \ - functions/filesystem.sgml \ - functions/ftp.sgml \ - functions/http.sgml \ - functions/hw.sgml \ - functions/ibase.sgml \ - functions/ifx.sgml \ - functions/image.sgml \ - functions/imap.sgml \ - functions/ldap.sgml \ - functions/mail.sgml \ - functions/math.sgml \ - functions/mcal.sgml \ - functions/misc.sgml \ - functions/mcrypt.sgml \ - functions/msql.sgml \ - functions/mysql.sgml \ - functions/nis.sgml \ - functions/sybase.sgml \ - functions/network.sgml \ - functions/oci8.sgml \ - functions/oracle.sgml \ - functions/pcre.sgml \ - functions/pgsql.sgml \ - functions/posix.sgml \ - functions/info.sgml \ - functions/regex.sgml \ - functions/sem.sgml \ - functions/session.sgml \ - functions/solid.sgml \ - functions/snmp.sgml \ - functions/strings.sgml \ - functions/uodbc.sgml \ - functions/url.sgml \ - functions/var.sgml \ - functions/wddx.sgml \ - functions/zlib.sgml + $(LANG)/functions/array.sgml \ + $(LANG)/functions/adabas.sgml \ + $(LANG)/functions/bc.sgml \ + $(LANG)/functions/datetime.sgml \ + $(LANG)/functions/dbase.sgml \ + $(LANG)/functions/dbm.sgml \ + $(LANG)/functions/dl.sgml \ + $(LANG)/functions/dir.sgml \ + $(LANG)/functions/exec.sgml \ + $(LANG)/functions/filepro.sgml \ + $(LANG)/functions/filesystem.sgml \ + $(LANG)/functions/ftp.sgml \ + $(LANG)/functions/http.sgml \ + $(LANG)/functions/hw.sgml \ + $(LANG)/functions/ibase.sgml \ + $(LANG)/functions/ifx.sgml \ + $(LANG)/functions/image.sgml \ + $(LANG)/functions/imap.sgml \ + $(LANG)/functions/ldap.sgml \ + $(LANG)/functions/mail.sgml \ + $(LANG)/functions/math.sgml \ + $(LANG)/functions/mcal.sgml \ + $(LANG)/functions/misc.sgml \ + $(LANG)/functions/mcrypt.sgml \ + $(LANG)/functions/msql.sgml \ + $(LANG)/functions/mysql.sgml \ + $(LANG)/functions/nis.sgml \ + $(LANG)/functions/sybase.sgml \ + $(LANG)/functions/network.sgml \ + $(LANG)/functions/oci8.sgml \ + $(LANG)/functions/oracle.sgml \ + $(LANG)/functions/pcre.sgml \ + $(LANG)/functions/pgsql.sgml \ + $(LANG)/functions/posix.sgml \ + $(LANG)/functions/info.sgml \ + $(LANG)/functions/regex.sgml \ + $(LANG)/functions/sem.sgml \ + $(LANG)/functions/session.sgml \ + $(LANG)/functions/solid.sgml \ + $(LANG)/functions/snmp.sgml \ + $(LANG)/functions/strings.sgml \ + $(LANG)/functions/uodbc.sgml \ + $(LANG)/functions/url.sgml \ + $(LANG)/functions/var.sgml \ + $(LANG)/functions/wddx.sgml \ + $(LANG)/functions/zlib.sgml FILES=$(PREFACE) $(APPENDICES) $(CHAPTERS) $(FUNCREF) global.ent chapters.ent ONLINE_MANUAL=*.php3 @@ -147,7 +148,9 @@ php.dsl: php.dsl.in ./config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -manual.sgml: .manual.sgml +manual.sgml: .manual.sgml manual.sgml.in + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status + .manual.sgml: $(FILES) touch .manual.sgml Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.14 phpdoc/configure.in:1.15 --- phpdoc/configure.in:1.14 Thu Oct 21 05:16:02 1999 +++ phpdoc/configure.in Sat Nov 27 19:08:16 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.14 1999/10/21 09:16:02 cslawi Exp $ +dnl $Id: configure.in,v 1.15 1999/11/28 00:08:16 ssb Exp $ AC_INIT(global.ent) @@ -84,6 +84,9 @@ ]) AC_MSG_RESULT($PHP_SOURCE) AC_SUBST(PHP_SOURCE) + +LANG=en +AC_SUBST(LANG) AC_OUTPUT(Makefile version.ent checkdoc manual.sgml howto.sgml howto.dsl html.dsl print.dsl phpweb.dsl php.dsl) chmod +x checkdoc Index: phpdoc/manual.sgml diff -u phpdoc/manual.sgml:1.21 phpdoc/manual.sgml:1.22 --- phpdoc/manual.sgml:1.21 Sun Nov 21 18:01:36 1999 +++ phpdoc/manual.sgml Sat Nov 27 19:08:16 1999 @@ -1,27 +1,41 @@ -<!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ -<!ENTITY % build.version SYSTEM "version.ent"> +<!DOCTYPE BOOK PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ + +<!ENTITY % lang-en "INCLUDE"> + +<![%lang-en;[ +<!ENTITY % language-defs SYSTEM "lang-en.ent"> +]]> + +%language-defs; + +<!-- Defaults for entities that should be defined in language-defs --> <!ENTITY % global.entities SYSTEM "global.ent"> <!ENTITY % global.chapters SYSTEM "chapters.ent"> + +<!-- These are language independent --> +<!ENTITY % build.version SYSTEM "version.ent"> + %global.entities; %global.chapters; %build.version; + ]> <book id="manual"> - <title>PHP Manual</title> + <title>&PHPManual;</title> &bookinfo; <dedication> <para> - Date: &php.build-date; + &Date; &php.build-date; </para> </dedication> &preface; <part id="getting-started"> - <title>Getting Started</title> + <title>&GettingStarted;</title> &chapter.introduction; &chapter.install; &chapter.config; @@ -29,7 +43,7 @@ </part> <part id="langref"> - <title>Language Reference</title> + <title>&LanguageReference;</title> &language.basic-syntax; &language.types; &language.variables; @@ -42,7 +56,7 @@ </part> <part id="features"> - <title>Features</title> + <title>&Features;</title> &features.error-handling; &features.images; &features.http-auth; @@ -54,7 +68,7 @@ </part> <part id="funcref"> - <title>Function Reference</title> + <title>&FunctionReference;</title> &reference.adabas; &reference.apache; &reference.bc; @@ -116,7 +130,7 @@ </part> <part id="appendixes"> - <title>Appendixes</title> + <title>&Appendixes;</title> &appendix.migration; &appendix.development; &appendix.debugger; Index: phpdoc/manual.sgml.in diff -u phpdoc/manual.sgml.in:1.3 phpdoc/manual.sgml.in:1.4 --- phpdoc/manual.sgml.in:1.3 Sun Nov 21 18:01:36 1999 +++ phpdoc/manual.sgml.in Sat Nov 27 19:08:16 1999 @@ -1,27 +1,41 @@ <!DOCTYPE BOOK PUBLIC "@DOCBOOK_DOCTYPE@" [ -<!ENTITY % build.version SYSTEM "version.ent"> + +<!ENTITY % lang-en "INCLUDE"> + +<![%lang-en;[ +<!ENTITY % language-defs SYSTEM "lang-en.ent"> +]]> + +%language-defs; + +<!-- Defaults for entities that should be defined in language-defs --> <!ENTITY % global.entities SYSTEM "global.ent"> <!ENTITY % global.chapters SYSTEM "chapters.ent"> + +<!-- These are language independent --> +<!ENTITY % build.version SYSTEM "version.ent"> + %global.entities; %global.chapters; %build.version; + ]> <book id="manual"> - <title>PHP Manual</title> + <title>&PHPManual;</title> &bookinfo; <dedication> <para> - Date: &php.build-date; + &Date; &php.build-date; </para> </dedication> &preface; <part id="getting-started"> - <title>Getting Started</title> + <title>&GettingStarted;</title> &chapter.introduction; &chapter.install; &chapter.config; @@ -29,7 +43,7 @@ </part> <part id="langref"> - <title>Language Reference</title> + <title>&LanguageReference;</title> &language.basic-syntax; &language.types; &language.variables; @@ -42,7 +56,7 @@ </part> <part id="features"> - <title>Features</title> + <title>&Features;</title> &features.error-handling; &features.images; &features.http-auth; @@ -54,7 +68,7 @@ </part> <part id="funcref"> - <title>Function Reference</title> + <title>&FunctionReference;</title> &reference.adabas; &reference.apache; &reference.bc; @@ -116,7 +130,7 @@ </part> <part id="appendixes"> - <title>Appendixes</title> + <title>&Appendixes;</title> &appendix.migration; &appendix.development; &appendix.debugger;

« previous php.dev (#13194) next »