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

Re: Options to avoid docs generation/installation

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 21, 2017, 06:17 UTC
Message-ID
<CACBZZX4VjxfHBn6O6mWBh-DfAy9cHUxcnn-UfVHzCqm+2VZOiA@mail.gmail.com>
In-Reply-To
<20170521025604.GA8068@csmail.ucc.ie>
On Sun, May 21, 2017 at 4:56 AM, Neil Cafferkey <n.cafferkey@cs.ucc.ie> wrote:
> The INSTALL file says that docs are not built by default, but that's not my
> experience. "make all" results in the generation of several Perl man pages,
> e.g. "Git.3pm". Is it the case that the behaviour documented is not
> propagated to the perl subdir?
Yes, this is a bug in the Makefile glue code for the perl subdir.
> Also, setting --mandir=/dev/null still results in the pages being installed
> in their usual location (at least in combination with setting --prefix to
> avoid disturbing my production git installation).

Sounds like another bug, maybe, but I didn't have time to dig into this one. When you run ./configure --mandir=* that does end up in config.mak.autogen, which we source and it should override the `mandir` in the Makefile, but maybe it doesn't work properly...

Previous: Neil Cafferkey
Message 2 of 2 in “Options to avoid docs generation/installation”
  1. Neil CafferkeyMay 21, 2017
  2. Ævar Arnfjörð BjarmasonMay 21, 2017

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.