svn: /pear/peardoc/trunk/scripts/ pearwebbuild.php
[email protected] (Christian Weiske)
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
cweiske Tue, 08 Dec 2009 06:58:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291863
Log:
rename bigxhtml file to please zip
Changed paths:
U pear/peardoc/trunk/scripts/pearwebbuild.php
Modified: pear/peardoc/trunk/scripts/pearwebbuild.php
===================================================================
--- pear/peardoc/trunk/scripts/pearwebbuild.php 2009-12-08 06:53:23 UTC (rev 291862)
+++ pear/peardoc/trunk/scripts/pearwebbuild.php 2009-12-08 06:58:10 UTC (rev 291863)
@@ -167,7 +167,7 @@
}
// bzip2
- logAndEcho(' Packing up pearbightml downloadable file');
+ logAndEcho(' Packing up pearbightml downloadable files');
passthruCheckReturn(
'bzip2'
. ' ' . escapeshellarg("build/$lang/pear-bigxhtml.html")
@@ -186,9 +186,10 @@
// zip
passthruCheckReturn(
"cd build/$lang/ &&"
- . 'zip -q'
+ . ' mv pear-bigxhtml.html ' . escapeshellarg("pear_manual_$lang.html") . ' &&'
+ . ' zip -q'
. ' ' . escapeshellarg("pear_manual_$lang.html.zip")
- . ' ' . escapeshellarg("pear_manual_en.html")
+ . ' ' . escapeshellarg("pear_manual_$lang.html")
. $tobuildlog
);
@@ -223,7 +224,8 @@
//restore old directory name for re-runs without recompilation
passthruCheckReturn(
"cd build/$lang/ &&"
- . " mv pear_manual_$lang pear-chunked-xhtml"
+ . " mv pear_manual_$lang pear-chunked-xhtml &&"
+ . " mv pear_manual_$lang.html pear-bigxhtml.html"
);