Re: Re: Fwd: PEAR file-hierarchy

From: Date: Fri, 21 May 2004 14:28:53 +0000
Subject: Re: Re: Fwd: PEAR file-hierarchy
References: 1 2  Groups: php.pear.qa php.pear.core 
Request: Send a blank email to pear-qa+get-1224@lists.php.net to get a copy of this message
Michael Wallner wrote:
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>
yup seems to me like something that needs to be fixed inside the installer regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.qa (#1224) next »