summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9673198)
raw | patch | inline | side by side (parent: 9673198)
author | Eric Wong <normalperson@yhbt.net> | |
Sun, 13 Aug 2006 11:13:25 +0000 (04:13 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 13 Aug 2006 17:25:00 +0000 (10:25 -0700) |
Makes life for binary packagers easier, as the Perl modules will
be installed inside DESTDIR.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
be installed inside DESTDIR.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
perl/Makefile.PL | patch | blob | history |
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 97ee9af9c9834d759c33b17bca7b66eaef200e4f..ef9d82d7b63f0c2bee5777025450af4c5eb3abb2 100644 (file)
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
$pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm';
}
+my %extra;
+$extra{DESTDIR} = $ENV{DESTDIR} if $ENV{DESTDIR};
+
WriteMakefile(
NAME => 'Git',
VERSION_FROM => 'Git.pm',
PM => \%pm,
MYEXTLIB => '../libgit.a',
INC => '-I. -I..',
+ %extra
);