Re: Fwd: PEAR file-hierarchy
| From: | Michael Wallner | Date: | Fri, 21 May 2004 13:59:30 +0000 |
| Subject: | Re: Fwd: PEAR file-hierarchy | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-1221@lists.php.net to get a copy of this message | ||
Hi Stefan Neufeind, you wrote:
> Hi pears,
>
> may I bring up this subject again? If I remember correctly it wasn't
> yet resolved or at least commented upon. Do some maintainers (maybe
> even me included) do something wrong in their package.xml?
To be more verbose:
The probelm is, that if you define a file/dir as role="doc" the installer
switches the install root to [PEAR_DIR]/docs/[PACKAGE] and then you most
probably have some files and directories in a docs directory, and if you
do *not* specify install-as="" in the package.xml the installer just
concatenates the pathes: [PEAR_DIR]/docs/[PACKAGE]/docs and installs
everything up there.
Yet we might change the installers behaviour to omit the root
directory "docs" for file/directories with role="doc" and resp.
the other category(ies?) "tests" as well.
Currently you can override this behaviour by defining something like
the following in your package.xml:
<file role="doc" install-as="examples/simple.php">
docs/examples/simple.php
</file>
> Stefan
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc