[PHP-DOC] cvs: livedocs / configure.in

2005-02-10 Thread Edin Kadribasic
edink   Thu Feb 10 07:30:47 2005 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  Quote args in config.nice
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.31&r2=1.32&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.31 livedocs/configure.in:1.32
--- livedocs/configure.in:1.31  Wed Feb  9 17:16:00 2005
+++ livedocs/configure.in   Thu Feb 10 07:30:47 2005
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.31 2005/02/09 22:16:00 iliaa Exp $
+## $Id: configure.in,v 1.32 2005/02/10 12:30:47 edink Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -8,7 +8,12 @@
 dnl need to do this before other stuff eats up our args
 
 echo "#!/bin/sh" > config.nice
-echo "./configure $@" >> config.nice
+echo "./configure \\" >> config.nice
+for arg in "$@"; do
+echo "'$arg' \\" >> config.nice;
+done
+echo '"$@"' >> config.nice
+
 chmod +x config.nice
 
 AC_ARG_WITH(php,[  --with-php[=PATH]   Look for PHP executable 
needed for livedocs scripts],


[PHP-DOC] cvs: livedocs / configure.in

2005-02-09 Thread Edin Kadribasic
edink   Wed Feb  9 13:02:08 2005 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  Fixed config.nice problem #31783
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.29&r2=1.30&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.29 livedocs/configure.in:1.30
--- livedocs/configure.in:1.29  Thu Nov 11 14:33:27 2004
+++ livedocs/configure.in   Wed Feb  9 13:02:08 2005
@@ -1,9 +1,16 @@
 ## A configure script
-## $Id: configure.in,v 1.29 2004/11/11 19:33:27 wez Exp $
+## $Id: configure.in,v 1.30 2005/02/09 18:02:08 edink Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
 
+dnl Generate config.nice (primitive, but saves some brain power)
+dnl need to do this before other stuff eats up our args
+
+echo "#!/bin/sh" > config.nice
+echo "./configure $@" >> config.nice
+chmod +x config.nice
+
 AC_ARG_WITH(php,[  --with-php[=PATH]   Look for PHP executable 
needed for livedocs scripts],
 [
   if test $withval != "yes"; then
@@ -156,12 +163,5 @@
   echo ""
   echo "You have configured livedocs so that links are relative to 
http://yourserver$WEBBASE";
   echo "$OUTPUTDIR is assumed to be the dir that is displayed by your 
webserver for that URL"
-
-  dnl Generate config.nice (primitive, but saves some brain power)
-
-  echo "#!/bin/sh" > config.nice
-  echo "./configure $*" >> config.nice
-  chmod +x config.nice
-
 fi
 dnl vim:et:sw=2:ts=2


[PHP-DOC] cvs: livedocs / configure.in

2004-07-30 Thread Ilia Alshanetsky
iliaa   Fri Jul 30 11:19:25 2004 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  Don't forget to copy xml_classes5.php.
  
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.26&r2=1.27&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.26 livedocs/configure.in:1.27
--- livedocs/configure.in:1.26  Tue May 25 07:33:48 2004
+++ livedocs/configure.in   Fri Jul 30 11:19:25 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.26 2004/05/25 11:33:48 wez Exp $
+## $Id: configure.in,v 1.27 2004/07/30 15:19:25 iliaa Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -142,6 +142,7 @@
   $lncmd $LIVEDOCS/error.php $OUTPUTDIR/error.php
   $lncmd $LIVEDOCS/style_mapping.php $OUTPUTDIR/style_mapping.php
   $lncmd $LIVEDOCS/xml_classes.php $OUTPUTDIR/xml_classes.php
+  $lncmd $LIVEDOCS/xml_classes5.php $OUTPUTDIR/xml_classes5.php
   $lncmd $LIVEDOCS/search.php $OUTPUTDIR/search.php
   $lncmd $LIVEDOCS/handlers.php $OUTPUTDIR/handlers.php
   rm -rf $OUTPUTDIR/themes


Re: [PHP-DOC] cvs: livedocs / configure.in livedoc.php livedoc_funcs.php mkindex.php pregenerate.php xml_classes5.php /themes/default html_format.php

2004-05-25 Thread Nuno Lopes
> wez Tue May 25 07:33:48 2004 EDT
>
>   Added files:
> /livedocs livedoc_funcs.php pregenerate.php xml_classes5.php
>
>   Modified files:
> /livedocs configure.in livedoc.php mkindex.php
> /livedocs/themes/default html_format.php
>   Log:
>   Big commit; will be a little unclear what has changed.
>
>   - Split the functions out from livedoc.php and into livedoc_funcs.php
>   - Added PHP 5 version of xml_classes5.php; assignment using the
reference
> operator leaks massive amounts of memory and will not be fixed.
>   - Added pregenerate.php which should be run using PHP 5 (see above!)
only to
> generate the entire manual as individual html pages.
>   - Some minor corrections to Ilia's perf tweaks
>   - Smarter entity handling


Livedocs is broken now!
It isn't handling entities properly. Instead it is turning all entities in

Also: "Notice: Undefined index: __node_count in
C:\Nuno\testing\livedocs\xml_classes5.php on line 139"

Sorry, but today I can't debug and correct these problems, but I may take a
look to this in Friday.

Nuno


[PHP-DOC] cvs: livedocs / configure.in livedoc.php livedoc_funcs.php mkindex.php pregenerate.php xml_classes5.php /themes/default html_format.php

2004-05-25 Thread Wez Furlong
wez Tue May 25 07:33:48 2004 EDT

  Added files: 
/livedocs   livedoc_funcs.php pregenerate.php xml_classes5.php 

  Modified files:  
/livedocs   configure.in livedoc.php mkindex.php 
/livedocs/themes/defaulthtml_format.php 
  Log:
  Big commit; will be a little unclear what has changed.
  
  - Split the functions out from livedoc.php and into livedoc_funcs.php
  - Added PHP 5 version of xml_classes5.php; assignment using the reference
operator leaks massive amounts of memory and will not be fixed.
  - Added pregenerate.php which should be run using PHP 5 (see above!) only to
generate the entire manual as individual html pages.
  - Some minor corrections to Ilia's perf tweaks
  - Smarter entity handling
  
  Discovery:
  
  do_nav() is way too slow; don't attempt to pregenerate anything until it is
  tuned, unless you are a gentoo user with CPU to burn.
  
  
  http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.25&r2=1.26&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.25 livedocs/configure.in:1.26
--- livedocs/configure.in:1.25  Tue May  4 21:37:04 2004
+++ livedocs/configure.in   Tue May 25 07:33:48 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.25 2004/05/05 01:37:04 wez Exp $
+## $Id: configure.in,v 1.26 2004/05/25 11:33:48 wez Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -138,6 +138,7 @@
   cp common.php config.php .htaccess $OUTPUTDIR
   rm -f .htaccess
   $lncmd $LIVEDOCS/livedoc.php $OUTPUTDIR/index.php
+  $lncmd $LIVEDOCS/livedoc_funcs.php $OUTPUTDIR/livedoc_funcs.php
   $lncmd $LIVEDOCS/error.php $OUTPUTDIR/error.php
   $lncmd $LIVEDOCS/style_mapping.php $OUTPUTDIR/style_mapping.php
   $lncmd $LIVEDOCS/xml_classes.php $OUTPUTDIR/xml_classes.php
@@ -148,13 +149,12 @@
   echo ""
   echo "You have configured livedocs so that links are relative to 
http://yourserver$WEBBASE";
   echo "$OUTPUTDIR is assumed to be the dir that is displayed by your webserver for 
that URL"
-fi
-
-dnl Generate config.nice (primitive, but saves some brain power)
 
-echo "#!/bin/sh" > config.nice
-echo "./configure $*" >> config.nice
-chmod +x config.nice
+  dnl Generate config.nice (primitive, but saves some brain power)
 
+  echo "#!/bin/sh" > config.nice
+  echo "./configure $*" >> config.nice
+  chmod +x config.nice
 
+fi
 dnl vim:et:sw=2:ts=2
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.106&r2=1.107&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.106 livedocs/livedoc.php:1.107
--- livedocs/livedoc.php:1.106  Mon May 24 16:59:28 2004
+++ livedocs/livedoc.phpTue May 25 07:33:48 2004
@@ -18,15 +18,10 @@
 // | Generate an HTML version of a phpdoc/docbook page on the fly |
 // +--+
 //
-// $Id: livedoc.php,v 1.106 2004/05/24 20:59:28 iliaa Exp $
+// $Id: livedoc.php,v 1.107 2004/05/25 11:33:48 wez Exp $
 
 define('LIVEDOC_SOURCE', dirname(__FILE__));
-include LIVEDOC_SOURCE . '/common.php';
-include LIVEDOC_SOURCE . '/xml_classes.php';
-include LIVEDOC_SOURCE . '/style_mapping.php';
-include LIVEDOC_SOURCE . '/handlers.php';
-include LIVEDOC_SOURCE . '/themes/' . THEME_NAME . '/html_format.php';
-
+include LIVEDOC_SOURCE . '/livedoc_funcs.php';
 $date = gmdate('Y-m-d H:i:s') . ' GMT';
 
 if (isset($_GET['i'])) {
@@ -56,27 +51,35 @@
  * Aliases and XML -> style mapping
  * Please keep the arrays sorted by keys
  */
-$aliases = array(
-   // For Smarty
-   'smarty.for.programmers' => 'smarty.constants',
-   'smarty.for.designers' => 'language.basic.syntax',
-   'api.functions' => 'handle_appendixes_funcref',
-   'language.custom.functions' => 'handle_appendixes_funcref',
-   'language.basic.syntax' => 'handle_appendixes_funcref',
-   'language.variables' => 'handle_appendixes_funcref',
-   // For PHPdoc
-   'api' => 'streams',
-   'appendixes'  => 'handle_appendixes_funcref',
-   'faq' => 'faq.general',
-   'features'=> 'features.http-auth',
-   'funcref' => 'handle_appendixes_funcref',
-   'getting-started' => 'introduction',
-   'installation'=> 'install.general',
-   'langref' => 'language.basic-syntax',
-   'manual'  => 'handle_contents',
-   'security'=> 'security.index',
-   'indexes' => 'handle_index'
-);
+
+if (BUILD_TYPE == 'smarty') {
+   $aliases = array(
+   // For Smarty
+   'smarty.for.programmers' => 'smarty.constants',
+   'smarty.for.designers' => 'language.basic.syntax',
+   'api.functions' => 'handle_appendixes_funcref',
+   'language.custom.functions' => 'handle_appendixes_funcref',
+   'language.basic.syntax' => 'handle_appendixes_funcref',
+   'language.variables' => 'handle_appendixes

[PHP-DOC] cvs: livedocs / configure.in

2004-03-29 Thread Mehdi Achour
didou   Mon Mar 29 06:14:25 2004 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  a better word for this option
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.22&r2=1.23&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.22 livedocs/configure.in:1.23
--- livedocs/configure.in:1.22  Wed Mar 24 11:14:23 2004
+++ livedocs/configure.in   Mon Mar 29 06:14:24 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.22 2004/03/24 16:14:23 nlopess Exp $
+## $Id: configure.in,v 1.23 2004/03/29 11:14:24 didou Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -59,7 +59,7 @@
   [THEMENAME="$withval"],
   [THEMENAME="default"])
 
-AC_ARG_WITH(default-lang,[  --with-default-lang[=THEME_NAME] Default language 
[default=en]],
+AC_ARG_WITH(default-lang,[  --with-default-lang[=LANG]  Default language 
[default=en]],
   [DEFAULTLANG="$withval"],
   [DEFAULTLANG="en"])
 


[PHP-DOC] cvs: livedocs / configure.in mk_peardoc.php mk_smarty.php

2004-03-24 Thread Nuno Lopes
nlopess Wed Mar 24 11:14:23 2004 EDT

  Added files: 
/livedocs   mk_smarty.php 

  Modified files:  
/livedocs   configure.in mk_peardoc.php 
  Log:
  now smarty works with livedocs too
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.21&r2=1.22&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.21 livedocs/configure.in:1.22
--- livedocs/configure.in:1.21  Sun Mar 21 13:35:55 2004
+++ livedocs/configure.in   Wed Mar 24 11:14:23 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.21 2004/03/21 18:35:55 nlopess Exp $
+## $Id: configure.in,v 1.22 2004/03/24 16:14:23 nlopess Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -51,7 +51,7 @@
   [BUILDLOG="$withval"],
   [BUILDLOG="/var/log/livedocs-index"])
 
-AC_ARG_WITH(build-type,[  --with-build-type[=BUILD_TYPE]  Build type (phpdoc|peardoc) 
[default=phpdoc]],
+AC_ARG_WITH(build-type,[  --with-build-type[=BUILD_TYPE]  Build type 
(phpdoc|peardoc|smarty) [default=phpdoc]],
   [BUILDTYPE="$withval"],
   [BUILDTYPE="phpdoc"])
 
http://cvs.php.net/diff.php/livedocs/mk_peardoc.php?r1=1.2&r2=1.3&ty=u
Index: livedocs/mk_peardoc.php
diff -u livedocs/mk_peardoc.php:1.2 livedocs/mk_peardoc.php:1.3
--- livedocs/mk_peardoc.php:1.2 Wed Mar 17 09:05:56 2004
+++ livedocs/mk_peardoc.php Wed Mar 24 11:14:23 2004
@@ -18,11 +18,11 @@
 // | Configuration file for peardoc build |
 // +--+
 //
-// $Id: mk_peardoc.php,v 1.2 2004/03/17 14:05:56 didou Exp $
+// $Id: mk_peardoc.php,v 1.3 2004/03/24 16:14:23 nlopess Exp $
 
 define('MK_VERSION', false);
 
-$parse_dirs = array('authoring', 'chapters', 'core', 'guide', 'package', 'pecl');
+$parse_dirs = array('chapters', 'core', 'guide', 'package', 'pecl');
 
 $top_files = array('manual.xml');
 

http://cvs.php.net/co.php/livedocs/mk_smarty.php?r=1.1&p=1
Index: livedocs/mk_smarty.php
+++ livedocs/mk_smarty.php
http://www.php.net/license/3_0.txt.  |
// | If you 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: Wez Furlong, Derick Rethans, Ilia Alshanetsky   |
// +--+
// | Configuration file for peardoc build |
// +--+
//
// $Id: mk_smarty.php,v 1.1 2004/03/24 16:14:23 nlopess Exp $

define('MK_VERSION', false);

$parse_dirs = array('');

$top_files = array('manual.xml');

$entities_dir = 'entities';

function search_parse_dir($path, $section)
{
global $idx, $toca, $tocd;

$d = opendir($path);
readdir($d); readdir($d);

while (($f = readdir($d))) {
if ($f == 'CVS' || $f == '.cvsignore') {
continue;
}
switch (filetype($path . '/' .  $f)) {
case 'file':
$docbook_id = substr($f, 0, -4);

if (isset($toca[$docbook_id])) {
$id = $toca[$docbook_id];
$wl = search_parse_file($path . '/' .  $f, $descr);
if ($descr && !isset($tocd[$id])) {
$tocd[$id] = trim($descr);
}
$qry = '';
foreach ($wl as $w) {
if (strlen($w) > MIN_WORD_LEN) {
$qry .= "INSERT INTO full_search VALUES('{$w}', {$id});";
}
}
sqlite_query($idx, $qry);
} else {
echo "BAD ID: $docbook_id ($path, $f, $section)\n";
}
break;
case 'dir' :
search_parse_dir($path . '/' . $f, $section);
break;
}
}
closedir($d);
}


[PHP-DOC] cvs: livedocs / configure.in handlers.php livedoc-index.php livedoc.php

2004-03-21 Thread Nuno Lopes
nlopess Sun Mar 21 08:59:42 2004 EDT

  Added files: 
/livedocs   handlers.php 

  Removed files:   
/livedocs   livedoc-index.php 

  Modified files:  
/livedocs   configure.in livedoc.php 
  Log:
  fixing index for DYNAMIC
  moving all special handlers to handlers.php
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.19&r2=1.20&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.19 livedocs/configure.in:1.20
--- livedocs/configure.in:1.19  Sat Mar 20 11:07:29 2004
+++ livedocs/configure.in   Sun Mar 21 08:59:42 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.19 2004/03/20 16:07:29 didou Exp $
+## $Id: configure.in,v 1.20 2004/03/21 13:59:42 nlopess Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
@@ -130,13 +130,14 @@
   AC_MSG_ERROR([HEY!! You should probably mkdir $OUTPUTDIR...])
 else
   echo "Copying livedoc files to $OUTPUTDIR..."
-  cp common.php config.php livedoc-index.php .htaccess $OUTPUTDIR
+  cp common.php config.php .htaccess $OUTPUTDIR
   rm -f .htaccess
   $lncmd $LIVEDOCS/livedoc.php $OUTPUTDIR/index.php
   $lncmd $LIVEDOCS/error.php $OUTPUTDIR/error.php
   $lncmd $LIVEDOCS/style_mapping.php $OUTPUTDIR/style_mapping.php
   $lncmd $LIVEDOCS/xml_classes.php $OUTPUTDIR/xml_classes.php
   $lncmd $LIVEDOCS/search.php $OUTPUTDIR/search.php
+  $lncmd $LIVEDOCS/handlers.php $OUTPUTDIR/handlers.php
   rm -rf $OUTPUTDIR/themes
   $lncmd $LIVEDOCS/themes $OUTPUTDIR/themes
   echo ""
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.84&r2=1.85&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.84 livedocs/livedoc.php:1.85
--- livedocs/livedoc.php:1.84   Sun Mar 21 06:17:54 2004
+++ livedocs/livedoc.phpSun Mar 21 08:59:42 2004
@@ -18,13 +18,13 @@
 // | Generate an HTML version of a phpdoc/docbook page on the fly |
 // +--+
 //
-// $Id: livedoc.php,v 1.84 2004/03/21 11:17:54 nlopess Exp $
+// $Id: livedoc.php,v 1.85 2004/03/21 13:59:42 nlopess Exp $
 
 define('LIVEDOC_SOURCE', dirname(__FILE__));
 include LIVEDOC_SOURCE . '/common.php';
 include LIVEDOC_SOURCE . '/xml_classes.php';
 include LIVEDOC_SOURCE . '/style_mapping.php';
-include LIVEDOC_SOURCE . '/livedoc-index.php';
+include LIVEDOC_SOURCE . '/handlers.php';
 include LIVEDOC_SOURCE . '/themes/' . THEME_NAME . '/html_format.php';
 
 if (!isset($_GET['q'])) {
@@ -46,16 +46,16 @@
  */
 $aliases = array(
'api' => 'streams',
-   'appendixes'  => 'handle_appendixes',
+   'appendixes'  => 'handle_appendixes_funcref',
'faq' => 'faq.general',
'features'=> 'features.http-auth',
-   'funcref' => 'handle_funcref',
+   'funcref' => 'handle_appendixes_funcref',
'getting-started' => 'introduction',
'installation'=> 'install.general',
'langref' => 'language.basic-syntax',
'manual'  => 'handle_contents',
'security'=> 'security.index',
-   'indexes' => 'func_index'
+   'indexes' => 'handle_index'
 );
 
 if (isset($_GET['i'])) {
@@ -63,7 +63,7 @@
list($title, $filename, $fileid, $dirid) = do_nav($idx, $fb_idx, $lang, 
$current_page, $nav, $children);
 
echo manual_page_header();
-   func_index();
+   handle_index();
$filename = 'index';
$file_revision = '1.1';
echo manual_page_footer();
@@ -444,31 +444,6 @@
return "$title";
 }
 
-function handle_funcref() 
-{
-   global $current_page_title, $children, $lang;
-
-   $ret = "$current_page_title\n";
-   foreach ($children as $id => $title) {
-   $url = generate_url_for_id($lang, $id);
-   $ret .= "$title\n";
-   }
-   return $ret."";
-}
-
-function handle_appendixes() 
-{
-   global $current_page_title, $children, $lang;
-
-   $ret = "$current_page_title\n";
-   foreach ($children as $id => $title) {
-   $url = generate_url_for_id($lang, $id);
-   $ret .= "$title\n";
-   }
-   return $ret . "";
-   
-}
-
 function do_contents($id, $level) 
 {
global $lang;
@@ -498,13 +473,6 @@
return $ret .= "\n";
 }
 
-function handle_contents() 
-{
-   global $current_page_title, $children, $lang;
-
-   return "PHP ManualContents" . 
do_contents(1, 0);
-}
-
 function handle_include($node) 
 {
$filename = BASE . strtr($node->attributes['ref'], '.', '/') . '.xml';

http://cvs.php.net/co.php/livedocs/handlers.php?r=1.1&p=1
Index: livedocs/handlers.php
+++ livedocs/handlers.php
http://www.php.net/license/3_0.txt.  |
// | If you 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. 

[PHP-DOC] cvs: livedocs / configure.in

2004-03-20 Thread Mehdi Achour
didou   Sat Mar 20 11:07:30 2004 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  WS
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.18&r2=1.19&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.18 livedocs/configure.in:1.19
--- livedocs/configure.in:1.18  Sat Mar 20 04:33:34 2004
+++ livedocs/configure.in   Sat Mar 20 11:07:29 2004
@@ -1,10 +1,10 @@
 ## A configure script
-## $Id: configure.in,v 1.18 2004/03/20 09:33:34 nlopess Exp $
+## $Id: configure.in,v 1.19 2004/03/20 16:07:29 didou Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.php)
 
-AC_ARG_WITH(php,[  --with-php[=PATH]  Look for PHP executable needed for 
livedocs scripts],
+AC_ARG_WITH(php,[  --with-php[=PATH]   Look for PHP executable needed for 
livedocs scripts],
 [
   if test $withval != "yes"; then
 AC_MSG_CHECKING([for php])
@@ -47,15 +47,15 @@
   AC_MSG_ERROR([no PHP binary found])
 fi
 
-AC_ARG_WITH(build-log,[  --with-build-log[=FILE]Log file  
[default=/var/log/livedocs-index]],
+AC_ARG_WITH(build-log,[  --with-build-log[=FILE] Log file  
[default=/var/log/livedocs-index]],
   [BUILDLOG="$withval"],
   [BUILDLOG="/var/log/livedocs-index"])
 
-AC_ARG_WITH(build-type,[  --with-build-type[=BUILD_TYPE]  Build type 
(phpdoc|peardoc) [default=phpdoc]],
+AC_ARG_WITH(build-type,[  --with-build-type[=BUILD_TYPE]  Build type (phpdoc|peardoc) 
[default=phpdoc]],
   [BUILDTYPE="$withval"],
   [BUILDTYPE="phpdoc"])
 
-AC_ARG_WITH(theme,[  --with-theme[=THEME_NAME]  Theme name [default=default]],
+AC_ARG_WITH(theme,[  --with-theme[=THEME_NAME]   Theme name [default=default]],
   [THEMENAME="$withval"],
   [THEMENAME="default"])
 
@@ -63,18 +63,18 @@
   [PHPDOC="$withval"],
   [PHPDOC="/dat/dev/php/phpdoc-all"])
 
-AC_ARG_WITH(output-dir,[  --with-output-dir[=DIR]Webroot  
[default=/home/httpd/html/phpman/htdocs]],
+AC_ARG_WITH(output-dir,[  --with-output-dir[=DIR] Webroot  
[default=/home/httpd/html/phpman/htdocs]],
   [OUTPUTDIR="$withval"],
   [OUTPUTDIR="/home/httpd/html/phpman/htdocs"])
 
 LIVEDOCS=`pwd`
 
-AC_ARG_WITH(languages,[  --with-languages[=en ar...]Supported languages  
[default=en]],
+AC_ARG_WITH(languages,[  --with-languages[=en ar...] Supported languages  
[default=en]],
   [LANGUAGES="$withval"],
   [LANGUAGES="en"])
 
 AC_ARG_ENABLE(content-caching,
-  [  --enable-content-caching[=yes] Enable caching  [default=no]],
+  [  --enable-content-caching[=yes]  Enable caching  [default=no]],
 [
 if test "x$enableval" = "xyes" -o "x$enableval" = "x"; then
   FORCE_DYNAMIC=0
@@ -84,11 +84,11 @@
 ],[FORCE_DYNAMIC=1])
 
 
-AC_ARG_WITH(web-base,[  --with-web-base[=DIR]  Relative URL for livedocs 
links  [default=/]],
+AC_ARG_WITH(web-base,[  --with-web-base[=DIR]   Relative URL for livedocs 
links  [default=/]],
   [WEBBASE="$withval"],
   [WEBBASE="/"])
 
-AC_ARG_WITH(build-dir,[  --with-build-dir=DIR Dir in which to build index 
[default=/tmp]],
+AC_ARG_WITH(build-dir,[  --with-build-dir=DIRDir in which to build index 
[default=/tmp]],
   [GENDIR="$withval"],
   [GENDIR="/tmp"])
 


[PHP-DOC] cvs: livedocs / configure.in

2004-03-20 Thread Nuno Lopes
nlopess Sat Mar 20 04:33:37 2004 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  fix broken configure
  
http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.17&r2=1.18&ty=u
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.17 livedocs/configure.in:1.18
--- livedocs/configure.in:1.17  Wed Mar 17 05:45:50 2004
+++ livedocs/configure.in   Sat Mar 20 04:33:34 2004
@@ -1,8 +1,8 @@
 ## A configure script
-## $Id: configure.in,v 1.17 2004/03/17 10:45:50 didou Exp $
+## $Id: configure.in,v 1.18 2004/03/20 09:33:34 nlopess Exp $
 
 AC_PREREQ(2.13)
-AC_INIT(livedoc.css)
+AC_INIT(livedoc.php)
 
 AC_ARG_WITH(php,[  --with-php[=PATH]  Look for PHP executable needed for 
livedocs scripts],
 [


[PHP-DOC] cvs: livedocs / configure.in

2004-01-17 Thread Nuno Lopes
nlopess Sat Jan 17 06:36:36 2004 EDT

  Modified files:  
/livedocs   configure.in 
  Log:
  link new files
  
Index: livedocs/configure.in
diff -u livedocs/configure.in:1.12 livedocs/configure.in:1.13
--- livedocs/configure.in:1.12  Tue Jan 13 05:57:06 2004
+++ livedocs/configure.in   Sat Jan 17 06:36:35 2004
@@ -1,5 +1,5 @@
 ## A configure script
-## $Id: configure.in,v 1.12 2004/01/13 10:57:06 gui Exp $
+## $Id: configure.in,v 1.13 2004/01/17 11:36:35 nlopess Exp $
 
 AC_PREREQ(2.13)
 AC_INIT(livedoc.css)
@@ -107,6 +107,9 @@
   cp common.php config.php livedoc-index.php .htaccess $OUTPUTDIR
   rm -f .htaccess
   ln -sf $LIVEDOCS/livedoc.php $OUTPUTDIR/index.php
+  ln -sf $LIVEDOCS/error.php $OUTPUTDIR/error.php
+  ln -sf $LIVEDOCS/style_mapping.php $OUTPUTDIR/style_mapping.php
+  ln -sf $LIVEDOCS/xml_classes.php $OUTPUTDIR/xml_classes.php
   ln -sf $LIVEDOCS/search.php $OUTPUTDIR/search.php
   ln -sf $LIVEDOCS/livedoc.css $OUTPUTDIR/livedoc.css
   echo ""