On 22 February 2011 20:24, Kalle Sommer Nielsen <ka...@php.net> wrote: > kalle Tue, 22 Feb 2011 20:24:40 +0000 > > Revision: http://svn.php.net/viewvc?view=revision&revision=308573 > > Log: > Add the ability to generate the enhanced chm format in the weekly builds > > # Currently this script is configured for the current setup > # on oti1 until the next PhD release > > Changed paths: > UU phpdoc/doc-base/trunk/scripts/build-chms.php
I don't know how much longer things take to run, but is running 2 separate renders along with the duplicate indexing vs 1 render with 2 formats any more efficient? Using ... execute_task('- PhD', PATH_PHD, '-d "' . PATH_DOC . '\\doc-base\\.manual.xml' . '" -P PHP -f chm ' . (EXTENDED ? '-f enhancedchm ' : '') . '-o "' . PATH_DOC . '\\tmp\\' . $lang . '" --lang=' . $lang, 'phd_' . $lang); for example and removing /** * Run .manual.xml thru PhD (--css reset.css --css theme.css --css doc.css) */ execute_task('- [Enhanced] PhD', PATH_PHD, '-d "' . PATH_DOC . '\\doc-base\\.manual.xml' . '" -P PHP -f enhancedchm -o "' . PATH_DOC . '\\tmp\\' . $lang . '" --lang=' . $lang, 'phd_enhanced_' . $lang); -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY