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

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
Previous: Stephen FisherNext: Stephen Fisher
Message 2 of 4 in “Git's configure script --mandir doesn't work”
  1. Stephen FisherDec 4, 2014
  2. Jeff KingDec 5, 2014
  3. Stephen FisherDec 10, 2014
  4. Jeff KingDec 10, 2014

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.