jkj Thu Feb 8 04:45:29 2001 EDT
Added files:
/phpdoc bightml.xsl.in html.xsl.in print.xsl.in
Modified files:
/phpdoc configure.in
Log:
- very initial support for XSL stylesheets
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.55 phpdoc/configure.in:1.56
--- phpdoc/configure.in:1.55 Sat Feb 3 13:54:42 2001
+++ phpdoc/configure.in Thu Feb 8 04:45:29 2001
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.55 2001/02/03 21:54:42 jah Exp $
+dnl $Id: configure.in,v 1.56 2001/02/08 12:45:29 jkj Exp $
AC_INIT(global.ent)
@@ -82,6 +82,26 @@
AC_SUBST(DOCBOOK_HTML)
AC_SUBST(DOCBOOK_PRINT)
+AC_MSG_CHECKING(for docbook.xsl)
+AC_ARG_WITH(xsl,
+[ --with-xsl=[URI] Look for XSL stylesheets at the specified URI],
+[
+ DOCBOOKXSL_BIGHTML=$withval/html/docbook.xsl
+ DOCBOOKXSL_HTML=$withval/html/chunk.xsl
+ DOCBOOKXSL_PRINT=$withval/fo/docbook.xsl
+ AC_MSG_RESULT(in $withval)
+],[
+])
+if test -z "$DOCBOOKXSL_BIGHTML"; then
+ DOCBOOKXSL_BIGHTML="the-is-not-default-yet"
+ DOCBOOKXSL_HTML="the-is-not-default-yet"
+ DOCBOOKXSL_PRINT="the-is-not-default-yet"
+ AC_MSG_RESULT(defaulting)
+fi
+AC_SUBST(DOCBOOKXSL_BIGHTML)
+AC_SUBST(DOCBOOKXSL_HTML)
+AC_SUBST(DOCBOOKXSL_PRINT)
+
AC_MSG_CHECKING(for PHP source path)
AC_ARG_WITH(source,
[ --with-source=[DIR] Look at the specified source directory],
@@ -264,7 +284,10 @@
print.dsl \
phpweb.dsl \
quickref.dsl \
-manual.xml)
+manual.xml \
+html.xsl \
+bightml.xsl \
+print.xsl)
chmod +x checkdoc
Index: phpdoc/bightml.xsl.in
+++ phpdoc/bightml.xsl.in
<!--
HTML specific stylesheet
$Id: bightml.xsl.in,v 1.1 2001/02/08 12:45:29 jkj Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="@DOCBOOKXSL_BIGHTML@"/>
<xsl:output method="html" encoding="@ENCODING@"/>
</xsl:stylesheet>
Index: phpdoc/html.xsl.in
+++ phpdoc/html.xsl.in
<!--
HTML specific stylesheet
$Id: html.xsl.in,v 1.1 2001/02/08 12:45:29 jkj Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="@DOCBOOKXSL_HTML@"/>
<xsl:output method="html" encoding="@ENCODING@"/>
<xsl:param name="base.dir" select="'html/'"/>
</xsl:stylesheet>
Index: phpdoc/print.xsl.in
+++ phpdoc/print.xsl.in
<!--
Print specific stylesheet
$Id: print.xsl.in,v 1.1 2001/02/08 12:45:29 jkj Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="@DOCBOOKXSL_PRINT@"/>
</xsl:stylesheet>