1 use ExtUtils::MakeMaker;
6 @echo '$(INSTALLSITEARCH)'
9 perl -MDevel::PPPort -le 'Devel::PPPort::WriteFile(".ppport.h")' && \
10 perl .ppport.h --compat-version=5.6.0 Git.xs && \
16 my %pm = ('Git.pm' => '$(INST_LIBDIR)/Git.pm');
18 # We come with our own bundled Error.pm. It's not in the set of default
19 # Perl modules so install it if it's not available on the system yet.
20 eval { require Error };
22 $pm{'private-Error.pm'} = '$(INST_LIBDIR)/Error.pm';
26 $extra{DESTDIR} = $ENV{DESTDIR} if $ENV{DESTDIR};
30 VERSION_FROM => 'Git.pm',
32 MYEXTLIB => '../libgit.a',