Re: PHPDocumentor: wrong phpdoc script install path

From: Date: Sat, 12 Jul 2003 18:52:45 +0000
Subject: Re: PHPDocumentor: wrong phpdoc script install path
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18207@lists.php.net to get a copy of this message
Hi Tomas, Thanks for the tip, we'll do that for the pear release. Any idea how to determine PHP's location automatically without the presence of PEAR (most of our userbase is through sourceforge downloads). Greg Tomas V.V.Cox wrote:
Btw, it should set the correct location of the PHP binary, now it defaults to /usr/local/bin. Just change at the phpdoc script top: PHP="/usr/local/bin/php" with PHP="@php_bin@" And the package.xml file: <file role="script" name="phpdoc"> <replace from="@php_bin@" to="php_bin" type="pear-config"/> </file> See: http://marc.theaimsgroup.com/?l=pear-dev&m=105668515127532&w=2 On Saturday, July 12, 2003 17:12, Tomas V.V.Cox wrote:
<file role="script" baseinstalldir="PhpDocumentor" md5sum="5d0dca92548db62 In package.xml:
<file role="script">phpdoc</file>
should be:
<file role="script" baseinstalldir="/">phpdoc</file>
Otherwise the "phpdoc" script gets installed under <bin_dir>/PhpDocumentor/phpdoc.
--
Tomas V.V.Cox                          mailto:cox@idecnet.com


« previous php.pear.dev (#18207) next »