Re: Install custom files

Leon Timmermans <[email protected]> Tue, 5 Apr 2011 12:44:28 +0200
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
On Mon, Apr 4, 2011 at 9:38 PM, Simon Ruderich <[email protected]> wrote:
> Sorry. I tried the following.
>
> Works fine:
>
> =C2=A0 =C2=A0perl Build.PL --install_base ~/test
> =C2=A0 =C2=A0./Build
> =C2=A0 =C2=A0./Build install
>
> Works, but doesn't correctly replace the paths with my hacky
> solution. Exactly the problem you mentioned below.
>
> =C2=A0 =C2=A0perl Build.PL
> =C2=A0 =C2=A0./Build
> =C2=A0 =C2=A0./Build install --install_base ~/test
>
> Doesn't work:
>
> =C2=A0 =C2=A0perl Build.PL
> =C2=A0 =C2=A0./Build --install_base ~/test
> =C2=A0 =C2=A0./Build install

Yeah, that's exactly what I would expect.

> Good point. But how can I handle the problem? Is there no
> solution which works in all cases?

The obvious solution would be to move it from build time to (pre-)install t=
ime.

Leon