The TODO list just got a whole lot smaller.
http://www.makemaker.org/src/ExtUtils-Makemaker-snap.tgz
PREFIXification is pretty much completely implemented. This bit of
the docs sums it up:
INSTALLDIRS set to
perl site vendor
PREFIX SITEPREFIX VENDORPREFIX
INST_ARCHLIB INSTALLARCHLIB INSTALLSITEARCH INSTALLVENDORARCH
INST_LIB INSTALLPRIVLIB INSTALLSITELIB INSTALLVENDORLIB
INST_BIN INSTALLBIN INSTALLSITEBIN INSTALLVENDORBIN
INST_SCRIPT INSTALLSCRIPT INSTALLSCRIPT INSTALLSCRIPT
INST_MAN1DIR INSTALLMAN1DIR INSTALLSITEMAN1DIR INSTALLVENDORMAN1DIR
INST_MAN3DIR INSTALLMAN3DIR INSTALLSITEMAN3DIR INSTALLVENDORMAN3DIR
it should now be possible to say "perl Makefile.PL PREFIX=/something"
and everything will go into /something. The only question now is are
they going into reasonable places? Try it. Report back.
There's also MANPREFIX and LIBPREFIX (synonym for LIB) and LIBSTYLE,
but I don't think they quite work right just yet.
I'm toying with the idea of adding an INSTALLDIRS=default which means
"ignore my config and just give me a generic layout"
(ie. PREFIX/lib/perl5, PREFIX/man/man1, etc...).
And now the caveats:
* Can't do "make install PREFIX=foo" just yet.
* Still not entirely portable.
* INSTALL*MAN*DIR not honoring MAN*EXT
* The docs are probably now very out of date. Need help!
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Any sufficiently encapsulated hack is no longer a hack.