The "make install PREFIX=foo" behavior which was broken a few versions ago
has been restored *if and only if* PREFIX was specified to Makefile.PL.

    # this works
    perl Makefile.PL PREFIX=foo
    make install PREFIX=bar

    # this doesn't
    perl Makefile.PL
    make install PREFIX=bar

Users who make packages out of Perl modules will find the new DESTDIR
variable handy.

    # build normally
    perl Makefile.PL
    make test
    # install into /tmp/dpkgbuild
    make install DESTDIR=/tmp/dpkgbuild

Unlike PREFIX, DESTDIR is prepended to the normal installation directories.

The meaning of PREFIX has changed.  Previously, PREFIX was both the user
override prefix *and* the default location for core perl libraries.  Now
PREFIX is only the user override.  The core perl library prefix is
PERLPREFIX.


Snapshots on makemaker.org.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
I need a SHOWER a BURGER and some ROBOTS, STAT!
        -- http://www.angryflower.com/allrigh.gif

Reply via email to