git-rm: do not fail on already removed file.
[gitweb.git] / perl / Makefile.PL
index ef9d82d7b63f0c2bee5777025450af4c5eb3abb2..41687757a7fdd9c09bd320b92ed7f089af00a403 100644 (file)
@@ -3,12 +3,7 @@ use ExtUtils::MakeMaker;
 sub MY::postamble {
        return <<'MAKE_FRAG';
 instlibdir:
-       @echo '$(INSTALLSITEARCH)'
-
-check:
-       perl -MDevel::PPPort -le 'Devel::PPPort::WriteFile(".ppport.h")' && \
-       perl .ppport.h --compat-version=5.6.0 Git.xs && \
-       rm .ppport.h
+       @echo '$(INSTALLSITELIB)'
 
 MAKE_FRAG
 }
@@ -29,7 +24,6 @@ WriteMakefile(
        NAME            => 'Git',
        VERSION_FROM    => 'Git.pm',
        PM              => \%pm,
-       MYEXTLIB        => '../libgit.a',
-       INC             => '-I. -I..',
+       MAKEFILE        => 'perl.mak',
        %extra
 );