summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2007-08-20 09:23:15 +0200
committerJunio C Hamano <gitster@pobox.com>2007-08-23 01:02:49 -0700
commit191131e538dd4188dbada7ce871f80af80556292 (patch)
tree6a837f05fa440bb4bffab7ff17ce48f28121236e /perl
parent8f728fb96f00860cae58f4f2c5c9c96651e6a626 (diff)
downloadgit-191131e538dd4188dbada7ce871f80af80556292.tar.gz
Install man3 manpages to $PREFIX/share/man/man3 even for site installs
MakeMaker supports three installation modes: perl, site, and vendor. The first and third install manpages to $PREFIX/share/man, only site installs to $PREFIX/man. For consistency with the rest of git, which does not make the distinction and writes all manpages to $PREFIX/share/man, this change makes sure that perl does too, even when it's installed in site mode. Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
-rw-r--r--perl/Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 437516142c..6aecd897f8 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -29,5 +29,6 @@ WriteMakefile(
VERSION_FROM => 'Git.pm',
PM => \%pm,
MAKEFILE => 'perl.mak',
+ INSTALLSITEMAN3DIR => '$(SITEPREFIX)/share/man/man3',
%extra
);