goba Thu Jul 25 13:03:04 2002 EDT Modified files: /phpdoc configure.in Log: Much better support for XSL sheets. If you specify the --with-xsl parameter XSL path values will be switched on (file:/// prepended to all path values in file-entities.ent). If you specify --with-xsl=yes, the XSL sheets from phpdoc/xsl/docbook are used (currently not in CVS, needs more testing). If you specify your own style sheet, be sure to specify it with the file:/// prefix, and with an absolute path. The XSL sheets are nearly ready to work "out of the box", with a phpdoc checkout (they need to be committed in :). BTW I'll do more tests with XSL sheets the weekend, and if all goes well, I'll commit the needed parts to phpdoc/xsl/docbook (much like phpdoc/dsssl/docbook). Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.164 phpdoc/configure.in:1.165 --- phpdoc/configure.in:1.164 Thu Jul 25 12:05:48 2002 +++ phpdoc/configure.in Thu Jul 25 13:03:03 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.164 2002/07/25 16:05:48 goba Exp $ +dnl $Id: configure.in,v 1.165 2002/07/25 17:03:03 goba Exp $ dnl autoconf initialisation AC_INIT() @@ -254,14 +254,23 @@ DOCBOOKXSL_HTML=$withval/html/chunk.xsl DOCBOOKXSL_PRINT=$withval/fo/docbook.xsl DOCBOOKXSL_USED=yes - AC_MSG_RESULT(in $withval) + AC_MSG_RESULT([in $withval (XSL path values on)]) + else + # these path values are relative to the xsl directory + # of phpdoc (note that this directory is not in CVS, but + # it will be there if tests goes well) + if test "$withval" = "yes"; then + DOCBOOKXSL_BIGHTML="./docbook/html/docbook.xsl" + DOCBOOKXSL_HTML="./docbook/html/chunk.xsl" + DOCBOOKXSL_PRINT="./docbook/fo/docbook.xsl" + DOCBOOKXSL_USED=yes + AC_MSG_RESULT([in $srcdir/xsl/docbook (XSL path values on)]) + else + DOCBOOKXSL_USED=no + fi fi ],[ - if test "$withval" = "yes"; then - DOCBOOKXSL_USED=yes - else - DOCBOOKXSL_USED=no - fi + DOCBOOKXSL_USED=no for dir in \ $srcdir/xsl/docbook \ $srcdir/phpdoc-tools/xsl \ @@ -274,13 +283,13 @@ DOCBOOKXSL_BIGHTML=$dir/html/docbook.xsl DOCBOOKXSL_HTML=$dir/html/chunk.xsl DOCBOOKXSL_PRINT=$dir/fo/docbook.xsl - AC_MSG_RESULT(autodetected: $dir) + AC_MSG_RESULT([autodetected: $dir (XSL path values off)]) break fi done ]) if test -z "$DOCBOOKXSL_BIGHTML"; then - AC_MSG_RESULT(not found) + AC_MSG_RESULT([not found (XSL path values off)]) fi AC_SUBST(DOCBOOKXSL_BIGHTML) AC_SUBST(DOCBOOKXSL_HTML)
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php