[Module-build-general] Re: Proposal for Module::Build installation dirs
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-07-03 17:53:59
|
On Thursday, July 3, 2003, at 12:49 PM, Andy Dougherty wrote:
> On Thu, 3 Jul 2003, Ken Williams wrote:
>
>> (Note that the 'script' line is different from MakeMaker -
>> unfortunately there's no such thing as "installsitescript" or
>> "installvendorscript" entry in C<Config.pm>, so we use the
>> "installsitebin" and "installvendorbin" entries to at least get the
>> general location right. In the future, if C<Config.pm> adds some more
>> appropriate entries, we'll start using those.)
>
> That sounds like a good plan. Those entries should appear in 5.8.1's
> Config.pm, when that is released.
Oh, good. That means I don't have to do the lobbying/convincing that I
thought I was going to have to do. =)
The code in the soon-to-be-released version of Module::Build looks like
this:
core => {
lib => $c->{installprivlib},
arch => $c->{installarchlib},
bin => $c->{installbin},
script => $c->{installscript},
bindoc => $c->{installman1dir},
libdoc => $c->{installman3dir},
},
site => {
lib => $c->{installsitelib},
arch => $c->{installsitearch},
bin => $c->{installsitebin},
script => $c->{installsitescript} ||
$c->{installsitebin},
bindoc => $c->{installsiteman1dir},
libdoc => $c->{installsiteman3dir},
},
vendor => {
lib => $c->{installvendorlib},
arch => $c->{installvendorarch},
bin => $c->{installvendorbin},
script => $c->{installvendorscript} ||
$c->{installvendorbin},
bindoc => $c->{installvendorman1dir},
libdoc => $c->{installvendorman3dir},
},
where $c is a reference to %Config. So it should just start working if
the %Config entries appear.
Thanks for the status update.
-Ken
|