cvs: peardoc /scripts pearwebbuild.php
| From: | Christian Weiske | Date: | Fri, 02 Jan 2009 14:07:15 +0000 |
| Subject: | cvs: peardoc /scripts pearwebbuild.php | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11411@lists.php.net to get a copy of this message | ||
cweiske Fri Jan 2 14:07:15 2009 UTC
Modified files:
/peardoc/scripts pearwebbuild.php
Log:
Move over package tocs, too
http://cvs.php.net/viewvc.cgi/peardoc/scripts/pearwebbuild.php?r1=1.11&r2=1.12&diff_format=u
Index: peardoc/scripts/pearwebbuild.php
diff -u peardoc/scripts/pearwebbuild.php:1.11 peardoc/scripts/pearwebbuild.php:1.12
--- peardoc/scripts/pearwebbuild.php:1.11 Tue Dec 30 15:39:26 2008
+++ peardoc/scripts/pearwebbuild.php Fri Jan 2 14:07:15 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.11 2008/12/30 15:39:26 cweiske Exp $';
+$parser->version = '$Id: pearwebbuild.php,v 1.12 2009/01/02 14:07:15 cweiske Exp $';
$parser->addOption('updatecvs', array(
'long_name' => '--updatecvs',
'description' => 'Update peardoc from CVS',
@@ -141,6 +141,11 @@
mkdir($cmdline->options['phpdir'], 0755, true);
}
shell_exec("mv build/$lang/php " . escapeshellarg($phplangdir) .
$tobuildlog);
+
+ //move packagetoc over, too
+ if (file_exists("build/$lang/packagetocs")) {
+ shell_exec("mv build/$lang/packagetocs " . escapeshellarg($phplangdir .
'/packagetocs/') . $tobuildlog);
+ }
}
// Remove chm build until we can get a chm compiler going.