Per Einar Ellefsen wrote:
At 22:48 03.04.2002, Randy Kobes wrote:

On Wed, 3 Apr 2002, Per Einar Ellefsen wrote:

> At 20:21 03.04.2002, Randy Kobes wrote:

> >On Win32, for packages built using ExtUtils::MakeMaker, any file
> >designated as an executable script gets 'pl2bat' called on it,
> >which creates a .bat version.
>
> But then it gets placed into Perl\bin, right? We don't want that for our
> bin\build, because it's just a local project convenence script... Any way
> to circumvent placing it into Perl\bin ?


I assume this is for the eventual CPAN distribution? Within
Makefile.PL, you can specify INSTALLSCRIPT (and lots of other
INSTALL*s) to control the locations where you want things
installed - see 'perldoc ExtUtils::MakeMaker' for a full listing.
But in overriding these defaults one should really ask the user
where she/he wants to put things ...


I don't know whether Stas was talking about an eventual CPAN distribution; it would be surprising as I don't really see us distributing the site on CPAN (DocSet yes, but that's ok already).
Anyway, your tips about INSTALL* are just what I was wonderning about. Thanks a lot.

The DocSet will be distributed on CPAN and it already does the right thing with its executables.


bin/build is actually a one liner which I extended to handle the local non-standard location of the perl libs on apache.org, so feel free to adjust it any way you want. Documenting this issue would be just fine.
the same goes for bin/makeindex.


Per Einar, can you please send me the patch for the doc explaining how to adjust the convenience scripts on WinFU?

BTW, once you adjust these you don't have to do it again, since cvs won't wipe out your new files which are not under cvs control.



--


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to