[PHP-DOC] cvs: phpdoc / configure.in From: Gabor Hojtsy (gabor <email protected>)
Date: 08/13/02

goba Tue Aug 13 12:09:45 2002 EDT

  Modified files:
    /phpdoc configure.in
  Log:
  So now we have bundled XSL sheets, no need to check for system specific
  paths. With this the system should work "out of the box" with XSL sheets.
  
  Just run
  
    ./configure
    make html_xsl
  
  and the HTML files will be created with XSL sheets if xsltproc
  is found. If not, then you should specify the --with-xsltproc=PATH
  parameter.
  
  Cygwin has xsltproc, and most linux distributions today also has it...
  
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.173 phpdoc/configure.in:1.174
--- phpdoc/configure.in:1.173 Sun Aug 11 14:19:07 2002
+++ phpdoc/configure.in Tue Aug 13 12:09:45 2002
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.173 2002/08/11 18:19:07 wez Exp $
+dnl $Id: configure.in,v 1.174 2002/08/13 16:09:45 goba Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -241,9 +241,7 @@
     DOCBOOKXSL_USED=yes
     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)
+ # these path values are relative to the xsl directory!
     if test "$withval" = "yes"; then
       DOCBOOKXSL_BIGHTML="./docbook/html/docbook.xsl"
       DOCBOOKXSL_HTML="./docbook/html/chunk.xsl"
@@ -252,30 +250,17 @@
       AC_MSG_RESULT([in $srcdir/xsl/docbook (XSL path values on)])
     else
       DOCBOOKXSL_USED=no
+ AC_MSG_RESULT([not found (XSL path values off)])
     fi
   fi
 ],[
+ # these path values are relative to the xsl directory!
+ DOCBOOKXSL_BIGHTML="./docbook/html/docbook.xsl"
+ DOCBOOKXSL_HTML="./docbook/html/chunk.xsl"
+ DOCBOOKXSL_PRINT="./docbook/fo/docbook.xsl"
   DOCBOOKXSL_USED=no
- for dir in \
- $srcdir/xsl/docbook \
- $srcdir/phpdoc-tools/xsl \
- $srcdir/phpdoc-tools/xsl/docbook \
- $srcdir/../phpdoc-tools/xsl \
- $srcdir/../phpdoc-tools/xsl/docbook \
- /usr/share/sgml/docbkxsl
- do
- if test -f "$dir/html/docbook.xsl"; then
- DOCBOOKXSL_BIGHTML=$dir/html/docbook.xsl
- DOCBOOKXSL_HTML=$dir/html/chunk.xsl
- DOCBOOKXSL_PRINT=$dir/fo/docbook.xsl
- AC_MSG_RESULT([autodetected: $dir (XSL path values off)])
- break
- fi
- done
+ AC_MSG_RESULT([in $srcdir/xsl/docbook (XSL path values off)])
 ])
-if test -z "$DOCBOOKXSL_BIGHTML"; then
- AC_MSG_RESULT([not found (XSL path values off)])
-fi
 AC_SUBST(DOCBOOKXSL_BIGHTML)
 AC_SUBST(DOCBOOKXSL_HTML)
 AC_SUBST(DOCBOOKXSL_PRINT)

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php