Subject: Re: Git's configure script --mandir doesn't work

From: Jeff King <[email-masked]>
Date: Fri, 5 Dec 2014 04:36:20 -0500

On Thu, Dec 04, 2014 at 04:25:32PM -0700, Stephen Fisher wrote:

> I'm installing Git 2.2.0 from source distribution on NetBSD 6.1.5 
> (amd64) and when I specify --mandir=/usr/local/man, it still installs 
> man pages in the default /usr/local/share/man directory.  Is there a fix 
> available for this?

It works fine for me here (Debian):

  tar xzf git-2.2.0.tar.gz
  cd git-2.2.0
  ./configure --prefix=/tmp/foo --mandir=/tmp/bar
  make install-man

puts the manpages into /tmp/bar.

Can you elaborate on the commands you're running? After running the
configure script, can you confirm that "mandir" is set appropriately in
config.mak.autogen?

-Peff