wez             Sun Aug 11 14:19:08 2002 EDT

  Modified files:              
    /phpdoc/dsssl       html.dsl.in 
    /phpdoc     configure.in 
  Log:
  Implement --with-htmlcss=URL option to configure, which will cause
  <link rel='stylesheet' href='URL'> to be added to each generated
  HTML page.
  
  
Index: phpdoc/dsssl/html.dsl.in
diff -u phpdoc/dsssl/html.dsl.in:1.1 phpdoc/dsssl/html.dsl.in:1.2
--- phpdoc/dsssl/html.dsl.in:1.1        Sun Jan  6 10:42:27 2002
+++ phpdoc/dsssl/html.dsl.in    Sun Aug 11 14:19:07 2002
@@ -9,7 +9,7 @@
 
 <!--
 
-  $Id: html.dsl.in,v 1.1 2002/01/06 15:42:27 hholzgra Exp $
+  $Id: html.dsl.in,v 1.2 2002/08/11 18:19:07 wez Exp $
 
   HTML-specific stylesheet customization.
 
@@ -21,6 +21,7 @@
 
 (define %html-ext% ".html")
 (define %output-dir% "html")
+@HTMLCSS@
 
 &html-common.dsl;
 &html-locale.dsl;
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.172 phpdoc/configure.in:1.173
--- phpdoc/configure.in:1.172   Wed Aug  7 08:33:10 2002
+++ phpdoc/configure.in Sun Aug 11 14:19:07 2002
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.172 2002/08/07 12:33:10 hholzgra Exp $
+dnl $Id: configure.in,v 1.173 2002/08/11 18:19:07 wez Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -392,6 +392,22 @@
 AC_SUBST(ZEND_FIGURES_HTML)
 AC_SUBST(ZEND_FIGURES_PHP)
 AC_SUBST(FIGURES)
+
+dnl }}}
+
+dnl {{{
+AC_MSG_CHECKING(for CSS to use for html docs)
+AC_ARG_WITH(htmlcss,
+[  --with-htmlcss=URL      Specify a CSS file to include in html docs],
+[
+       AC_MSG_RESULT([$withval])
+       HTMLCSS="(define %stylesheet% \"$withval\")"
+],[
+       HTMLCSS=""
+       AC_MSG_RESULT([none])
+])
+
+AC_SUBST(HTMLCSS)
 
 dnl }}}
 



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

Reply via email to