Re: Git's configure script --mandir doesn't work
- From
Jeff King <peff@peff.net>
- Date
- Dec 5, 2014, 09:36 UTC
- Message-ID
- <20141205093619.GE32112@peff.net>
- In-Reply-To
- <20141204232532.GB14036@SDF.ORG>
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