On Monday, June 16, 2003, at 08:39 AM, [EMAIL PROTECTED] wrote:



Please keep CC,


I'm trying to package grepmail (SF project) as Cygwin Net release and
to do that I need to instruct MakeMaker to install under separate
directory, but just like as it would normally.

    $ perl Makefile.PL
    $ grep -i prefix Makefile

    PREFIX = /usr
    SITEPREFIX = /usr
    VENDORPREFIX =

That installs fine as system wide, but not if I do this with grepmail:

    $ perl Makefile.PL FASTREADER=0 INSTALLDIRS=perl PREFIX=.inst/usr
    $ grep -i prefix Makefile

    PREFIX = .inst/usr
    SITEPREFIX = .inst/usr
    VENDORPREFIX = .inst/usr

It smells to me like you should really be setting DESTDIR=.inst instead of PREFIX=.inst/usr .


-Ken



Reply via email to