git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Install man3 manpages to $PREFIX/share/man/man3 even for site installs

From
MKmartin f. krafft <madduck@madduck.net>
Date
Aug 20, 2007, 07:23 UTC
Message-ID
<11875945952624-git-send-email-madduck@madduck.net>
In-Reply-To
<11875945951398-git-send-email-madduck@madduck.net>

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>
---
 perl/Makefile.PL |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 4375161..6aecd89 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
 );
-- 
1.5.3.rc5.40.g2f82
Previous: martin f. krafftNext: Junio C Hamano
Message 2 of 3 in “Install section 3 manpages to .../share/man for consistency”
  1. martin f. krafftAug 20, 2007
  2. Install man3 manpages to $PREFIX/share/man/man3 even for site installsmartin f. krafft, Aug 20, 2007
  3. Junio C HamanoAug 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.