Re: question about @PHP-BIN@, file placement in packages, more
| From: | Greg Beaver | Date: | Tue, 05 Jul 2005 16:28:45 +0000 |
| Subject: | Re: question about @PHP-BIN@, file placement in packages, more | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38451@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney wrote:
On 7/5/05, bertrand Gugger <bertrand@toggg.com> wrote:http://pear.php.net/manual/en/package.pear.pear-packagefilemanager.pear-packagefilemanager.addreplacement.php Gregyou need to associate a task with the <file> , something like:Okay, thanks! As noted by Andrey, I actually needed to use to="php_bin" in order to get the path to the PHP executable, but the link you provided helped me understand why. Is there a way to do this with PEAR_PackageFileManager? Or will I need to hand-hack the package.xml file to do so?<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />or<replace from="@bin_dir@" to="bin_dir" type="pear-config" />see http://pear.php.net/manual/en/guide.developers.package2.tasks.php#guide.developers.package2.tasks.windowseol