Re: Re: Announcement Package Directory Structure
| From: | Michael Wallner | Date: | Fri, 21 Nov 2003 14:13:25 +0000 |
| Subject: | Re: Re: Announcement Package Directory Structure | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23795@lists.php.net to get a copy of this message | ||
Hi Arnaud Limbourg, you wrote:
> I've always found it weird to have PEAR_DIRECTORY/docs/Package/docs
> but i'm sure there is a reason (right ? ;)
Well, seems that the reason was me :)
You have to supply a "install-as" attribute to the file
element in the package.xml:
<file role="doc" name="docs/README" install-as="README" />
The PEAR-Installer will install this to
[/usr/share/pear/]docs/Package/README
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]