Re: Replacement of placeholders at packaging time, not installation time
| From: | Greg Beaver | Date: | Fri, 27 Jan 2006 16:36:51 +0000 |
| Subject: | Re: Replacement of placeholders at packaging time, not installation time | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41111@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
> The current behaviour of <replace ...> is to replace the placeholders
> with their respective values upon installation.
>
> While I understand that there are some values that are only known at
> installation time, there are placeholders that could already be replaced
> at packaging time (@package_version@, for instance). Is there a
> technical reason why this is not done? Thanks!
quoting from
http://pear.php.net/manual/en/guide.developers.package2.tasks.php#guide.developers.package2.tasks.replace:
"Note that package-info replacements are performed at packaging time,
so files contain package-info replacements inside a .tgz/.tar release.
pear-config replacements can only occur on the installation system, and
are performed at install-time."
Greg