cvs: php-gtk-doc / Makefile.in

[email protected] ("James Moore") Tue, 14 Aug 2001 22:30:28 -0000
Newsgroups php.gtk
Message-ID <cvsjmoore997828228@cvsserver>
jmoore		Tue Aug 14 18:30:28 2001 EDT

  Modified files:              
    /php-gtk-doc	Makefile.in 
  Log:
  Makefile now works with libXSLT (make phpweb, make bigmanual.html, make bigmanual.txt and make html)
  # Andrei I still have a few small problems to fix in the stylesheets todo with phpweb, there are currently
  # some stylesheets avaible at http://www.phpuk.org/~james/gtkss.zip but these donot output to the correct
  # dir and phpweb stylesheet is broken in them, everything else works. Ive fixed the output dir thing so I can
  # send you patch if you want, Im just going to fix phpweb build now. - James
  
  
Index: php-gtk-doc/Makefile.in
diff -u php-gtk-doc/Makefile.in:1.4 php-gtk-doc/Makefile.in:1.5
--- php-gtk-doc/Makefile.in:1.4	Tue Jun 26 12:54:16 2001
+++ php-gtk-doc/Makefile.in	Tue Aug 14 18:30:28 2001
@@ -1,21 +1,21 @@
 # +----------------------------------------------------------------------+
-# |	PHP	Version	4.0														 |
+# | PHP Version 4.0                                                      |
 # +----------------------------------------------------------------------+
-# |	Copyright (c) 1997-2001	The	PHP	Group								 |
+# | 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			 |
-# |	[email protected]	so we can mail you a copy immediately				 |
+# | 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          |
+# | [email protected] so we can mail you a copy immediately                |
 # +----------------------------------------------------------------------+
-# |	Authors: James Moore <[email protected]>								 |
+# | Authors: James Moore <[email protected]>                                |
 # +----------------------------------------------------------------------+
 
 #
-# $Id: Makefile.in,v 1.4 2001/06/26 16:54:16 andrei Exp $
+# $Id: Makefile.in,v 1.5 2001/08/14 22:30:28 jmoore Exp $
 #
 
 #
@@ -27,7 +27,7 @@
 #
 # Programs
 #
-SAXON=@SAXON@
+XSLTPROC=@XSLTPROC@
 PHP=@PHP@
 UDOCS=scripts/udocs
 
@@ -35,17 +35,12 @@
 # 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"
@@ -55,11 +50,11 @@
 #
 # Dependencies
 #
-COMMON_DEPS=builddir common.xsl
+COMMON_DEPS=builddir
 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
+CHUNK_DEPS=$(COMMON_DEPS) htmldir
+PHPWEB_DEPS=$(COMMON_DEPS)	phpdir
+TEST_DEPS=$(COMMON_DEPS) testdir
 MANUAL_DEPS=chapters.ent
 
 #
@@ -158,13 +153,13 @@
 	lynx -nolist -dump file:`pwd`/build/bigmanual.html > $@
 
 build/php/index.php: manual.xml	$(PHPWEB_DEPS)
-	$(SAXON) manual.xml	$(stylesheet_dir)/phpweb.xsl 
+	$(XSLTPROC) $(stylesheet_dir)/phpweb.xsl manual.xml 
 
 build/html/index.html: manual.xml $(CHUNK_DEPS)
-	$(SAXON) manual.xml	$(stylesheet_dir)/chunk.xsl	
+	$(XSLTPROC) $(stylesheet_dir)/chunk.xsl manual.xml	
 
 build/bigmanual.html: manual.xml $(HTML_DEPS)
-	$(SAXON) manual.xml	$(stylesheet_dir)/html.xsl > $@
+	$(XSLTPROC) $(stylesheet_dir)/html.xsl manual.xml > $@
 
 updatexml:
 ifeq "$(mode)" "update"