path: root/perl/Makefile.PL
diff options
authorJunio C Hamano <>2006-10-01 06:38:24 (GMT)
committerJunio C Hamano <>2006-10-01 06:38:24 (GMT)
commit69de8cc8527dc45a7aef76e8f1ace45b509b3712 (patch)
treea1eedc952588f20afe95e8488e2f4664b13dc597 /perl/Makefile.PL
parentdd0c367e5e1358539bdd11c3a474bb6792504d30 (diff)
parentf7661ce0b8ee068e53d57249625199dda2829e30 (diff)
Merge branch 'jc/gitpm'
* jc/gitpm: (52 commits) Remove -fPIC which was only needed for Git.xs Kill Git.xs for now Revert "Make it possible to set up libgit directly (instead of from the environment)" Revert " Introduce fast get_object() method" Revert "Convert git-annotate to use" Fix compilation with Sun CC pass DESTDIR to the generated perl/Makefile Eliminate Scalar::Util usage from Convert git-annotate to use Introduce fast get_object() method Make it possible to set up libgit directly (instead of from the environment) Work around sed and make interactions on the backslash at the end of line. Introduce ident() and ident_person() methods Convert git-send-email to use Add config() method Use $GITPERLLIB instead of $RUNNING_GIT_TESTS and centralize @INC munging INSTALL: a tip for running after building but without installing. Perly Git: make sure we do test the freshly built one. Don't #define around die Git.xs: older perl do not know const char * ...
Diffstat (limited to 'perl/Makefile.PL')
1 files changed, 28 insertions, 0 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
new file mode 100644
index 0000000..de73235
--- /dev/null
+++ b/perl/Makefile.PL
@@ -0,0 +1,28 @@
+use ExtUtils::MakeMaker;
+sub MY::postamble {
+ return <<'MAKE_FRAG';
+my %pm = ('' => '$(INST_LIBDIR)/');
+# We come with our own bundled It's not in the set of default
+# Perl modules so install it if it's not available on the system yet.
+eval { require Error };
+if ($@) {
+ $pm{''} = '$(INST_LIBDIR)/';
+my %extra;
+ NAME => 'Git',
+ PM => \%pm,
+ %extra