Re: [Module-build-general] bug in Module-Build-0.18
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-05-09 18:28:45
|
On Friday, May 9, 2003, at 01:11 PM, Dave Rolsky wrote: > On Fri, 9 May 2003, Ken Williams wrote: > >> perl Build.PL config=sitelib=/home/me/data/perl58/ >> ./Build >> ./Build test >> ./Build fakeinstall (to check what it'll do in 'install') >> ./Build install > > I couldn't even figure out how to do this by reading the damn code! > And > the docs say you can just do "perl Build.PL sitelib=..." > > I might take a stab at this. Beware that I haven't even specced it out yet. I'm hoping we can "simplify" the MakeMaker approach. One thing to look at is the install_map(), install_types(), and install_destination() routines, which I kind of like. Right now there are three kinds of 'install_types' items, qw(lib arch script). In the future there will also be qw(man) or qw(man1 man3). The idea is that everything to install is of a certain "type", and then when you're installing you can issue various incantations to say "stuff of this type should go here". MakeMaker has this idea of certain predefined configuration sets, switchable by selecting INSTALLDIRS to 'perl', 'site', or 'vendor'. Assuming we also support this in M::B, I would like to keep it distinct from manually selecting a place to install stuff. Note that the 'destdir' parameter already does the "prefix everything with this string" thing for helping rpm/deb/etc. package managers. -Ken |