]> Pileus Git - ~andy/git/commitdiff
Install man3 manpages to $PREFIX/share/man/man3 even for site installs
authormartin f. krafft <madduck@madduck.net>
Mon, 20 Aug 2007 07:23:15 +0000 (09:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Aug 2007 08:02:49 +0000 (01:02 -0700)
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>
perl/Makefile.PL

index 437516142cb6c14f197dc5821635a6ff8bc91adf..6aecd897f8fe5b69b1805e94a20c578c10246a4d 100644 (file)
@@ -29,5 +29,6 @@ WriteMakefile(
        VERSION_FROM    => 'Git.pm',
        PM              => \%pm,
        MAKEFILE        => 'perl.mak',
+       INSTALLSITEMAN3DIR => '$(SITEPREFIX)/share/man/man3',
        %extra
 );