cvs: peardoc /scripts pearwebbuild.php
[email protected] ("Christian Weiske")
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <cvscweiske1235303872@cvsserver> |
cweiske Sun Feb 22 11:57:52 2009 UTC
Modified files:
/peardoc/scripts pearwebbuild.php
Log:
Pass language parameter to phd to get the correct filenames
http://cvs.php.net/viewvc.cgi/peardoc/scripts/pearwebbuild.php?r1=1.16&r2=1.17&diff_format=u
Index: peardoc/scripts/pearwebbuild.php
diff -u peardoc/scripts/pearwebbuild.php:1.16 peardoc/scripts/pearwebbuild.php:1.17
--- peardoc/scripts/pearwebbuild.php:1.16 Sun Feb 22 11:11:30 2009
+++ peardoc/scripts/pearwebbuild.php Sun Feb 22 11:57:52 2009
@@ -22,7 +22,7 @@
require_once 'Console/CommandLine.php';
$parser = new Console_CommandLine();
$parser->description = 'Builds the full manual';
-$parser->version = '$Id: pearwebbuild.php,v 1.16 2009/02/22 11:11:30 cweiske Exp $';
+$parser->version = '$Id: pearwebbuild.php,v 1.17 2009/02/22 11:57:52 cweiske Exp $';
$parser->addOption('updatecvs', array(
'long_name' => '--updatecvs',
'description' => 'Update peardoc from CVS',
@@ -98,7 +98,7 @@
//bightml
logAndEcho(' Rendering all pear themes');
- shell_exec("$phd_executable -f xhtml -t pear -o build/$lang -d .manual.xml" . $tobuildlog);
+ shell_exec("$phd_executable -L $lang -f xhtml -t pear -o build/$lang -d .manual.xml" . $tobuildlog);
// bzip2
logAndEcho(' Bzipping pearbightml downloadable file');
@@ -154,7 +154,7 @@
//pearweb package tocs
if ($lang == 'en') {
- logAndEcho("Building pearweb package tocs");
+ logAndEcho(' Building pearweb package tocs');
shell_exec("$php_executable scripts/pearwebpackagetocs.php" . $tobuildlog);
}
@@ -177,6 +177,7 @@
}
if ($cmdline->options['hhc']) {
+ logAndEcho(' Compiling chm manual');
passthru(
"cd build/$lang/chm && "
. $cmdline->options['hhc']