cvs: php-gtk-doc / .cvsignore LICENSE Makefile.in configure.in

From: Date: Mon, 27 Jan 2003 18:40:29 +0000
Subject: cvs: php-gtk-doc / .cvsignore LICENSE Makefile.in configure.in
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-591@lists.php.net to get a copy of this message
sfox Mon Jan 27 13:40:29 2003 EDT Added files: /php-gtk-doc LICENSE Modified files: /php-gtk-doc .cvsignore Makefile.in configure.in Log: A few updates

Index: php-gtk-doc/.cvsignore diff -u php-gtk-doc/.cvsignore:1.5 php-gtk-doc/.cvsignore:1.6 --- php-gtk-doc/.cvsignore:1.5 Wed Oct 17 14:11:27 2001 +++ php-gtk-doc/.cvsignore Mon Jan 27 13:40:29 2003 @@ -8,3 +8,4 @@ build stylesheets chapters.ent +htdocs Index: php-gtk-doc/Makefile.in diff -u php-gtk-doc/Makefile.in:1.13 php-gtk-doc/Makefile.in:1.14 --- php-gtk-doc/Makefile.in:1.13 Wed Nov 21 17:21:02 2001 +++ php-gtk-doc/Makefile.in Mon Jan 27 13:40:29 2003 @@ -1,13 +1,12 @@ # +----------------------------------------------------------------------+ # | PHP Version 4.0 | # +----------------------------------------------------------------------+ -# | Copyright (c) 1997-2001 The PHP Group | +# | Copyright (c) 1999-2003 The PHP Group | # +----------------------------------------------------------------------+ -# | This source file is subject to version 2.02 of the PHP licience, | -# | that is bundled with this package in the file LICENCE and is | -# | avalible through the world wide web at | -# | http://www.php.net/license/2_02.txt. | -# | If uou did not receive a copy of the PHP license and are unable to | +# | This source file is subject to version 3.0 of the PHP license, | +# | that is bundled with this package in the file LICENSE and is | +# | available online at http://www.php.net/license/3_0.txt. | +# | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world wide web, please send a note to | # | license@php.net so we can mail you a copy immediately | # +----------------------------------------------------------------------+ @@ -15,11 +14,11 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.13 2001/11/21 22:21:02 jimw Exp $ +# $Id: Makefile.in,v 1.14 2003/01/27 18:40:29 sfox Exp $ # # -# Makefile Variables +# Makefile Variables # VPATH=@srcdir@ srcdir=@srcdir@ @@ -30,6 +29,7 @@ # STYLESHEET_DIR=@STYLESHEET_DIR@ BUILD=build/@LANG@ +BUILD_SEARCHABLE=htdocs # # Programs @@ -63,14 +63,16 @@ all: html # -# Build Aliases +# Build Aliases # -bigmanual.html: $(BUILD)/bigmanual.html +bigmanual.html: $(BUILD)/bigmanual.html dist: $(BUILD)/manual-snapshot.tar.gz -genchapterents.php: scripts/genchapterents.php +searchable_zip: $(BUILD)/searchable_manual_$(LANG).zip +searchable_tar: $(BUILD)/searchable_manual_$(LANG).tar.gz +genchapterents.php: scripts/genchapterents.php html: $(BUILD)/html/index.html nochunk: bigmanual.html -phpweb: $(BUILD)/php/index.php +phpweb: $(BUILD)/php/index.php text: $(BUILD)/manual.txt util: custom.titlepage.xsl @@ -85,26 +87,26 @@ # html.xsl: $(STYLESHEET_DIR)/html.xsl chunk.xsl: $(STYLESHEET_DIR)/chunk.xsl -phpweb.xsl: $(STYLESHEET_DIR)/phpweb.xsl -common.xsl: $(STYLESHEET_DIR)/common.xsl -genchapterents.php: scripts/genchapterents.php -udocs: scripts/udocs +phpweb.xsl: $(STYLESHEET_DIR)/phpweb.xsl +common.xsl: $(STYLESHEET_DIR)/common.xsl +genchapterents.php: scripts/genchapterents.php +udocs: scripts/udocs custom.titlepage.xsl: $(STYLESHEET_DIR)/html/custom.titlepage.xsl # # Dependency Rules # -$(STYLESHEET_DIR)/html.xsl: @STYLESHEET_DIR@/html.xsl.in ./config.status - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status +$(STYLESHEET_DIR)/html.xsl: @STYLESHEET_DIR@/html.xsl.in ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -$(STYLESHEET_DIR)/chunk.xsl: @STYLESHEET_DIR@/chunk.xsl.in ./config.status +$(STYLESHEET_DIR)/chunk.xsl: @STYLESHEET_DIR@/chunk.xsl.in ./config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -$(STYLESHEET_DIR)/phpweb.xsl: @STYLESHEET_DIR@/phpweb.xsl.in ./config.status - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status +$(STYLESHEET_DIR)/phpweb.xsl: @STYLESHEET_DIR@/phpweb.xsl.in ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -$(STYLESHEET_DIR)/common.xsl: @STYLESHEET_DIR@/common.xsl.in ./config.status - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status +$(STYLESHEET_DIR)/common.xsl: @STYLESHEET_DIR@/common.xsl.in ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status chapters.ent: @$(PHP) -q scripts/genchapterents.php > $@ @@ -119,16 +121,16 @@ # Utility Rules # manual.xml: .manual.xml - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status scripts/udocs: - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status scripts/genchapterents.php: - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -Makefile: $(srcdir)/Makefile.in ./config.status - CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status +Makefile: $(srcdir)/Makefile.in ./config.status + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status FORCE: @@ -136,20 +138,35 @@ # Make Rules # -$(STYLESHEET_DIR)/html/custom.titlepage.xsl: manual.xml - $(SAXON) $(STYLESHEET_DIR)/html/custom.titlepage.xml $(DOCBOOKXSL)/template/titlepage.xsl > $@ +$(STYLESHEET_DIR)/html/custom.titlepage.xsl: manual.xml + $(SAXON) $(STYLESHEET_DIR)/html/custom.titlepage.xml $(DOCBOOKXSL)/template/titlepage.xsl > $@ $(BUILD)/manual.txt: bigmanual.html @mkdir -p $(BUILD) lynx -nolist -dump file:`pwd`/$(BUILD)/bigmanual.html > $@ -$(BUILD)/php/index.php: manual.xml $(PHPWEB_DEPS) +$(BUILD)/php/index.php: manual.xml $(PHPWEB_DEPS) @mkdir -p $(BUILD)/php $(XSLTPROC) --param base.dir "'$(BUILD)/php/'" $(STYLESHEET_DIR)/phpweb.xsl manual.xml +$(BUILD_SEARCHABLE)/manual/index.php: manual.xml $(PHPWEB_DEPS) + @mkdir -p $(BUILD_SEARCHABLE)/manual + $(XSLTPROC) --param base.dir "'$(BUILD_SEARCHABLE)/manual/'" $(STYLESHEET_DIR)/phpweb.xsl manual.xml + +$(BUILD)/searchable_manual_$(LANG).zip: $(BUILD_SEARCHABLE)/manual/index.php + @mkdir -p $(BUILD) + cp -r search/include search/gifs search/manual search/*.php $(BUILD_SEARCHABLE) + zip -qrm -9 $@ $(BUILD_SEARCHABLE) + +$(BUILD)/searchable_manual_$(LANG).tar.gz: $(BUILD_SEARCHABLE)/manual/index.php + @mkdir -p $(BUILD) + cp -r search/include search/gifs search/manual search/*.* $(BUILD_SEARCHABLE) + tar -cf - $(BUILD_SEARCHABLE)/ | gzip -9 > $@ + rm -rf $(BUILD_SEARCHABLE)/ + $(BUILD)/html/index.html: manual.xml $(CHUNK_DEPS) @mkdir -p $(BUILD)/html - $(XSLTPROC) --param base.dir "'$(BUILD)/html/'" $(STYLESHEET_DIR)/chunk.xsl manual.xml + $(XSLTPROC) --param base.dir "'$(BUILD)/html/'" $(STYLESHEET_DIR)/chunk.xsl manual.xml $(BUILD)/bigmanual.html: manual.xml $(HTML_DEPS) @mkdir -p $(BUILD) @@ -225,8 +242,8 @@ cd scripts; rm -f genchapterents.php udocs cvsclean: - @for i in `find . -name .cvsignore`; do \ - (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore` || true); \ + @for i in `find . -name .cvsignore`; do \ + (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore` || true); \ done Index: php-gtk-doc/configure.in diff -u php-gtk-doc/configure.in:1.13 php-gtk-doc/configure.in:1.14 --- php-gtk-doc/configure.in:1.13 Sat Aug 31 04:28:53 2002 +++ php-gtk-doc/configure.in Mon Jan 27 13:40:29 2003 @@ -1,13 +1,12 @@ # +----------------------------------------------------------------------+ # | PHP Version 4.0 | # +----------------------------------------------------------------------+ -# | Copyright (c) 1997-2001 The PHP Group | +# | Copyright (c) 1999-2003 The PHP Group | # +----------------------------------------------------------------------+ -# | This source file is subject to version 2.02 of the PHP licience, | -# | that is bundled with this package in the file LICENCE and is | -# | avalible through the world wide web at | -# | http://www.php.net/license/2_02.txt. | -# | If uou did not receive a copy of the PHP license and are unable to | +# | This source file is subject to version 3.0 of the PHP license, | +# | that is bundled with this package in the file LICENSE and is | +# | available online at http://www.php.net/license/3_0.txt. | +# | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world wide web, please send a note to | # | license@php.net so we can mail you a copy immediately | # +----------------------------------------------------------------------+ @@ -15,7 +14,7 @@ # +----------------------------------------------------------------------+ # -# $Id: configure.in,v 1.13 2002/08/31 08:28:53 jmoore Exp $ +# $Id: configure.in,v 1.14 2003/01/27 18:40:29 sfox Exp $ # AC_INIT(global.ent) @@ -27,7 +26,7 @@ AC_PATH_PROG(WGET, wget, no) if test "$WGET" = "no"; then - AC_MSG_ERROR(Cannot find wget - + AC_MSG_ERROR(cannot find wget - ********************************************** * Please get the stylesheets from * * http://www.phpuk.org/~james/gtkss.tar.gz * @@ -39,7 +38,7 @@ AC_PATH_PROG(TAR, tar, no) if test "$TAR" = "no"; then - AC_MSG_ERROR(Cannot find tar - + AC_MSG_ERROR(cannot find tar - ********************************************** * Please get the stylesheets from * * http://www.phpuk.org/~james/gtkss.tar.gz * @@ -47,28 +46,28 @@ **********************************************) fi -AC_MSG_CHECKING(For stylesheets dir) +AC_MSG_CHECKING(for stylesheets dir) if test ! -f "stylesheets/README"; then AC_MSG_RESULT(not found) else AC_MSG_RESULT(found) - echo "Backing up Stylesheet dir" + echo "backing up stylesheet dir" mv stylesheets stylesheets.old fi if test -f "gtkss.tar.gz"; then - echo "Backing up gtkss.tar.gz" + echo "backing up gtkss.tar.gz" mv gtkss.tar.gz gtkss.tar.gz.old fi -echo "Downloading Stylesheets" +echo "downloading stylesheets" $WGET http://www.phpuk.org/~james/gtkss.tar.gz if(test ! -f gtkss.tar.gz) then - AC_MSG_ERROR(Download failed - + AC_MSG_ERROR(download failed - ********************************************** * Please get the stylesheets from * * http://www.phpuk.org/~james/gtkss.tar.gz * @@ -76,7 +75,7 @@ **********************************************) fi -echo "Unpacking Stylesheets" +echo "unpacking stylesheets" tar -xvzf gtkss.tar.gz ]) @@ -98,26 +97,26 @@ fi AC_MSG_RESULT(found) -AC_MSG_CHECKING(Stylesheet Version) +AC_MSG_CHECKING(stylesheet version) if test ! -f "stylesheets/GTKVERSION"; then - AC_MSG_RESULT(No Version Information) - AC_MSG_WARN(No Version information found. - Persuming old version. - Updating Stylesheets) + AC_MSG_RESULT(no version information) + AC_MSG_WARN(no version information found - + presuming old version - + updating stylesheets) FetchSS() fi if test ! "0.1" = "`cat stylesheets/GTKVERSION`" then - AC_MSG_RESULT(Incorrect Version) - echo "Automatically updating stylesheets" + AC_MSG_RESULT(incorrect version) + echo "automatically updating stylesheets" FetchSS() fi -AC_MSG_RESULT(Correct Verison) +AC_MSG_RESULT(correct version) DOCBOOK_DOCTYPE="-//PHP Group//DTD DocBk XML V3.1.7-Based Extension//EN" AC_SUBST(DOCBOOK_DOCTYPE) @@ -130,7 +129,7 @@ AC_MSG_CHECKING(for php-gtk source) AC_ARG_WITH(srcdir, -[ --with-srcdir=SRCDIR PHP-GTK Source directory], +[ --with-srcdir=SRCDIR PHP-GTK source directory], [ if test -d "$withval"; then @@ -144,7 +143,7 @@ AC_SUBST(PHPGTK_SRCDIR) else AC_MSG_RESULT(no) - AC_MSG_ERROR(Cannot find PHP-GTK source dir) + AC_MSG_ERROR(cannot find PHP-GTK source dir) fi ], [ @@ -152,7 +151,7 @@ AC_MSG_CHECKING(for language) AC_ARG_WITH(lang, -[ --with-lang=LANG Choose a language to work with], +[ --with-lang=LANG choose a language to work with], [ if test "$withval" = "yes"; then
« previous php.gtk.doc (#591) next »