{"thread":{"id":"9585","subject":"[PATCH] Install man3 manpages to $PREFIX/share/man/man3 even for site installs","startedAt":"2007-08-20T07:23:14Z","lastAt":"2007-08-23T08:11:38Z","messageCount":3,"participants":["martin f. krafft","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"51055","messageId":"11875945951398-git-send-email-madduck@madduck.net","threadId":"9585","inReplyTo":null,"subject":"Install section 3 manpages to .../share/man for consistency","fromName":"martin f. krafft","fromEmail":"madduck@madduck.net","sentAt":"2007-08-20T07:23:14Z","receivedAt":"2007-08-20T07:23:14Z","isPatch":false,"sender":{"key":"madduck@madduck.net","avatar":null},"body":"When an admin installs git site-wide, e.g. to /usr/local, perl's makemaker\ndecides to use 'site' mode (as opposed to distro or user mode). For whatever\nreason, it then installs all perl-related manpages (those in section 3) to\n.../man, while the rest of git happily installs manpages to .../share/man.\n\nIn as such, this is different from the patch proposed in this thread:\n  http://marc.info/?t=117862141100003&r=1&w=2\n\nMy patch should only ever affect site installs and does not cause\ninstallations to $HOME to go to $HOME/share/...\n"},{"id":"51054","messageId":"11875945952624-git-send-email-madduck@madduck.net","threadId":"9585","inReplyTo":"11875945951398-git-send-email-madduck@madduck.net","subject":"[PATCH] Install man3 manpages to $PREFIX/share/man/man3 even for site installs","fromName":"martin f. krafft","fromEmail":"madduck@madduck.net","sentAt":"2007-08-20T07:23:15Z","receivedAt":"2007-08-20T07:23:15Z","isPatch":true,"sender":{"key":"madduck@madduck.net","avatar":null},"body":"MakeMaker supports three installation modes: perl, site, and vendor. The first\nand third install manpages to $PREFIX/share/man, only site installs to\n$PREFIX/man. For consistency with the rest of git, which does not make the\ndistinction and writes all manpages to $PREFIX/share/man, this change makes\nsure that perl does too, even when it's installed in site mode.\n\nSigned-off-by: martin f. krafft <madduck@madduck.net>\n---\n perl/Makefile.PL |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/perl/Makefile.PL b/perl/Makefile.PL\nindex 4375161..6aecd89 100644\n--- a/perl/Makefile.PL\n+++ b/perl/Makefile.PL\n@@ -29,5 +29,6 @@ WriteMakefile(\n \tVERSION_FROM    => 'Git.pm',\n \tPM\t\t=> \\%pm,\n \tMAKEFILE\t=> 'perl.mak',\n+\tINSTALLSITEMAN3DIR => '$(SITEPREFIX)/share/man/man3',\n \t%extra\n );\n-- \n1.5.3.rc5.40.g2f82\n"},{"id":"51342","messageId":"7vbqcyvfet.fsf@gitster.siamese.dyndns.org","threadId":"9585","inReplyTo":"11875945952624-git-send-email-madduck@madduck.net","subject":"Re: [PATCH] Install man3 manpages to $PREFIX/share/man/man3 even for site installs","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-08-23T08:11:38Z","receivedAt":"2007-08-23T08:11:38Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Sorry for keeping you waiting for quite a while.  I've had a\nchance to test building an RPM tonight, and this does not seem\nto affect the output (the perl manpage is already installed in\n/usr/share/man/man3), so I'd say this is probably safe to\napply.\n\nFor people who do private installs, the path is changed from\n$prefix/man/man3/ to $prefix/share/man/man3 (where $prefix is\ntypically set to $HOME), but all the other manual pages are\ninstalled in $prefix/share/man/man[1-7] anyway, so this change\ncannot hurt.\n"}]}