cvs: phd / config.php package.xml

From: Date: Tue, 21 Oct 2008 17:00:37 +0000
Subject: cvs: phd / config.php package.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2275@lists.php.net to get a copy of this message
cweiske Tue Oct 21 17:00:37 2008 UTC Modified files: /phd package.xml config.php Log: - add howto.php (from 0_4) - use pear versioning system so that config.php has not to be touched anymore when packaging a new version (bug #46350) http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.87&r2=1.88&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.87 phd/package.xml:1.88 --- phd/package.xml:1.87 Sat Jul 26 08:57:32 2008 +++ phd/package.xml Tue Oct 21 17:00:37 2008 @@ -81,6 +81,7 @@ <file baseinstalldir="phd" name="themes/php/bightml.php" role="php"/> <file baseinstalldir="phd" name="themes/php/chmsource.php" role="php"/> <file baseinstalldir="phd" name="themes/php/chunkedhtml.php" role="php"/> + <file baseinstalldir="phd" name="themes/php/howto.php" role="php"/> <file baseinstalldir="phd" name="themes/php/phpdotnet.php" role="php"/> <file baseinstalldir="phd" name="themes/php/phpweb.php" role="php"/> <file baseinstalldir="phd" name="themes/php/phpfunctions.php" role="php"/> @@ -100,7 +101,9 @@ <tasks:replace from="@php_bin@" to="php_bin" type="pear-config"/> <tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config"/> </file> - <file baseinstalldir="phd" name="config.php" role="php"/> + <file baseinstalldir="phd" name="config.php" role="php"> + <tasks:replace from="phd-from-cvs" to="version" type="package-info" /> + </file> <file baseinstalldir="phd" name="LICENSE" role="php"/> <file baseinstalldir="phd" name="mktoc.php" role="php"/> <file baseinstalldir="phd" name="README" role="php"/> http://cvs.php.net/viewvc.cgi/phd/config.php?r1=1.53&r2=1.54&diff_format=u Index: phd/config.php diff -u phd/config.php:1.53 phd/config.php:1.54 --- phd/config.php:1.53 Thu Jul 24 19:39:02 2008 +++ phd/config.php Tue Oct 21 17:00:37 2008 @@ -1,9 +1,9 @@ <?php -/* $Id: config.php,v 1.53 2008/07/24 19:39:02 bjori Exp $ */ +/* $Id: config.php,v 1.54 2008/10/21 17:00:37 cweiske Exp $ */ require $ROOT . "/include/PhDErrors.php"; -define("PHD_VERSION", "0.4.0-dev"); +define("PHD_VERSION", "phd-from-cvs"); class PhDConfig { @@ -55,7 +55,7 @@ 'phd_info_output' => NULL, 'phd_info_color' => false, ); - + public static function __callStatic($name, $params) { $name = strtolower($name); // FC if this becomes case-sensitive @@ -120,7 +120,7 @@ abstract class PhDOptionParser { abstract public function getOptionList(); - + public function handlerForOption($opt) { if (method_exists($this, "option_{$opt}")) { @@ -129,7 +129,7 @@ return NULL; } } - + public function getopt() { $opts = $this->getOptionList();

« previous php.doc.cvs (#2275) next »