summaryrefslogtreecommitdiff
path: root/perl/Makefile.PL
blob: dd6105677bad019fd0c679256a532ae3f293e5e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use ExtUtils::MakeMaker;

sub MY::postamble {
	return <<'MAKE_FRAG';
instlibdir:
	@echo $(INSTALLSITELIB)

MAKE_FRAG
}

WriteMakefile(
	NAME            => 'Git',
	VERSION_FROM    => 'Git.pm',
	MYEXTLIB        => '../libgit.a',
	INC             => '-I. -I..',
);


use Devel::PPPort;

-s 'ppport.h' or Devel::PPPort::WriteFile();