From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- buildscripts/chmbuilder/build.php | 158 +++++++++++++++++++------------------- 1 file changed, 79 insertions(+), 79 deletions(-) (limited to 'buildscripts/chmbuilder/build.php') diff --git a/buildscripts/chmbuilder/build.php b/buildscripts/chmbuilder/build.php index aeef4ad5..b6ea6c7b 100644 --- a/buildscripts/chmbuilder/build.php +++ b/buildscripts/chmbuilder/build.php @@ -1,80 +1,80 @@ -buildDoc($argv[1]); -} -else -{ - $pages['Control Reference : Standard Controls'][] = 'Controls/Standard.page'; - - - $quickstart= new ChmQuickstartBuilder($base,$output_dir.'/quickstart'); - $quickstart->buildDoc($pages); - - //move class data to protected data directory for prado app. - $classFile = $ROOT.'/classes/Data/classes.data'; - if(is_file($classData) && !is_file($classFile)) - copy($classData, $classFile); - $classes = unserialize(file_get_contents($classFile)); - - $classBuilder = new ClassDocBuilder($classDocBase,$output_dir); - - //use child process to build doc, otherwise it consumes too much memory - $child_builder = realpath($ROOT.'/build_child.php'); - foreach($classes as $class =>$data) - { - passthru('php '.$child_builder.' '.$class); - } - -// $classBuilder->parseBasePage(); - - $toc = new HTMLHelpTOCBuilder(); - $toc->buildToc($toc_file,$output_dir,array_keys($classes)); -} - +buildDoc($argv[1]); +} +else +{ + $pages['Control Reference : Standard Controls'][] = 'Controls/Standard.page'; + + + $quickstart= new ChmQuickstartBuilder($base,$output_dir.'/quickstart'); + $quickstart->buildDoc($pages); + + //move class data to protected data directory for prado app. + $classFile = $ROOT.'/classes/Data/classes.data'; + if(is_file($classData) && !is_file($classFile)) + copy($classData, $classFile); + $classes = unserialize(file_get_contents($classFile)); + + $classBuilder = new ClassDocBuilder($classDocBase,$output_dir); + + //use child process to build doc, otherwise it consumes too much memory + $child_builder = realpath($ROOT.'/build_child.php'); + foreach($classes as $class =>$data) + { + passthru('php '.$child_builder.' '.$class); + } + +// $classBuilder->parseBasePage(); + + $toc = new HTMLHelpTOCBuilder(); + $toc->buildToc($toc_file,$output_dir,array_keys($classes)); +} + ?> \ No newline at end of file -- cgit v1.2.3