cvs: php-gtk-doc / Makefile.saxon

From: Date: Thu, 09 Aug 2001 13:56:33 +0000
Subject: cvs: php-gtk-doc / Makefile.saxon
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2647@lists.php.net to get a copy of this message
jmoore Thu Aug 9 09:56:33 2001 EDT Added files: /php-gtk-doc Makefile.saxon Log: - Copy current makefile for saxon to Makefile.saxon to make room for changes to makefile for libxslt support Index: php-gtk-doc/Makefile.saxon +++ php-gtk-doc/Makefile.saxon # +----------------------------------------------------------------------+ # | PHP Version 4.0 | # +----------------------------------------------------------------------+ # | Copyright (c) 1997-2001 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 | # | obtain it through the world wide web, please send a note to | # | license@php.net so we can mail you a copy immediately | # +----------------------------------------------------------------------+ # | Authors: James Moore <jmoore@php.net> | # +----------------------------------------------------------------------+ # # $Id: Makefile.saxon,v 1.1 2001/08/09 13:56:33 jmoore Exp $ # # # Makefile Variables # VPATH=@srcdir@ srcdir=@srcdir@ # # Programs # SAXON=@SAXON@ PHP=@PHP@ UDOCS=scripts/udocs # # Paths # PHPGTK_SRCDIR="@PHPGTK_SRCDIR@" DOCBOOKXSL=@DOCBOOKXSL@ stylesheet_dir=@STYLESHEET_DIR@ html_stylesheet_dir=@STYLESHEET_DIR@/html/ LANG=@LANG@ # # Default Variables # HTML_STYLESHEET=html.xsl CHUNK_STYLESHEET=chunk.xsl PHPWEB_STYLESHEET=phpweb.xsl MODE="quick" UDOCSTYLESHEET:="chunk" PREFIX="gtk" XMLFILES= STYLESHEET=$(CHUNK_STYLESHEET) # # Dependencies # COMMON_DEPS=builddir common.xsl HTML_DEPS=$(HTML_STYLESHEET) $(COMMON_DEPS) CHUNK_DEPS=$(CHUNK_STYLESHEET) $(COMMON_DEPS) htmldir PHPWEB_DEPS=$(PHPWEB_STYLESHEET) $(COMMON_DEPS) phpdir TEST_DEPS=$(CHUNK_STYLESHEET) $(COMMON_DEPS) testdir MANUAL_DEPS=chapters.ent # # Default Rule # all: html # # Build Aliases # bigmanual.html: build/bigmanual.html dist: build/manual-snapshot.tar.gz genchapterents.php: scripts/genchapterents.php html: build/html/index.html nochunk: bigmanual.html phpweb: build/php/index.php text: build/manual.txt util: custom.titlepage.xsl # # Dependency Aliases # html.xsl: @STYLESHEET_DIR@/html.xsl chunk.xsl: @STYLESHEET_DIR@/chunk.xsl phpweb.xsl: @STYLESHEET_DIR@/phpweb.xsl common.xsl: @STYLESHEET_DIR@/common.xsl builddir: build htmldir: build/html phpdir: build/php testdir: build/test 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@/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@/common.xsl: @STYLESHEET_DIR@/common.xsl.in ./config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status build: @test -d build || mkdir build build/html: builddir @test -d $@ || mkdir $@ build/php: builddir @test -d $@ || mkdir $@ build/test: builddir @test -d $@ || mkdir $@ chapters.ent: @$(PHP) -q scripts/genchapterents.php > $@ # # Forced Rules # manual.xml: touch manual.xml # # Utility Rules # manual.xml: $(XMLFILES) $(MANUAL_DEPS) .manual.xml CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status scripts/udocs: CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status scripts/genchapterents.php: CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status Makefile: $(srcdir)/Makefile.in ./config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status FORCE: # # Make Rules # @STYLESHEET_DIR@/html/custom.titlepage.xsl: manual.xml $(SAXON) $(html_stylesheet_dir)/custom.titlepage.xml $(DOCBOOKXSL)/template/titlepage.xsl > $@ build/manual.txt: bigmanual.html lynx -nolist -dump file:pwd/build/bigmanual.html > $@ build/php/index.php: manual.xml $(PHPWEB_DEPS) $(SAXON) manual.xml $(stylesheet_dir)/phpweb.xsl build/html/index.html: manual.xml $(CHUNK_DEPS) $(SAXON) manual.xml $(stylesheet_dir)/chunk.xsl build/bigmanual.html: manual.xml $(HTML_DEPS) $(SAXON) manual.xml $(stylesheet_dir)/html.xsl > $@ updatexml: ifeq "$(mode)" "update" ifeq "$(stylesheet)" "phpweb" @$(UDOCS) -u -sphpweb else @$(UDOCS) -u -schunk endif else ifeq "$(stylesheet)" "phpweb" @$(UDOCS) -sphpweb else @$(UDOCS) -schunk endif endif # # Generic Rules # SUFFIXES: .xml %.xml: udocs ifeq "$(mode)" "update" ifeq "$(stylesheet)" "phpweb" @$(UDOCS) -u -sphpweb $@ else @$(UDOCS) -u -schunk $@ endif else ifeq "$(stylesheet)" "phpweb" @$(UDOCS) -sphpweb $@ else @$(UDOCS) -schunk $@ endif endif # # Clean Rules # clean: rm -rf build rm -f chapters.ent distclean: clean rm -f Makefile manual.xml configure rm -f config.cache config.log config.status version.ent cd stylesheets/xsl; rm -f html.xsl common.xsl \ chunk.xsl phpweb.xsl update.xsl temp.xsl 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); \ done

« previous php.gtk (#2647) next »