Code

pay attention to DESTDIR when building with NO_PERL_MAKEMAKER
authorJunio C Hamano <gitster@pobox.com>
Mon, 21 Sep 2009 19:44:05 +0000 (12:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Sep 2009 19:20:40 +0000 (12:20 -0700)
commit3696c4ce89d97c34566a4a89720cfdae2a86fa38
tree484a9f07036a2a05a3f264304af88fde1d975f72
parentf1e3156e627fa66714deea665c8f3585088b9695
pay attention to DESTDIR when building with NO_PERL_MAKEMAKER

Building with prefix=/some/where and temporarily installing it to
elsewhere for tar'ing up is done with:

    make prefix=/some/where
    make prefix=/some/where DESTDIR=/else/where install

Make handcrafted perl/perl.mak without NO_PERL_MAKEMAKER honour DESTDIR.

Ancient ExtUtils::MakeMaker (pre 6.11?) has the same issue, but recent
versions of Perl ships with at leat 6.17; this patch does not address that
issue.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Makefile