threads / discuss / 46013

Options to avoid docs generation/installation

Subject: Options to avoid docs generation/installation

## tl;dr

2 messages between May 21, 2017 and May 21, 2017.

replies: 1people: 2as markdown or json

Neil Cafferkey· May 21, 2017, 02:56 UTC · lore
Hi,

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?

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).

Regards, Neil

Ævar Arnfjörð Bjarmason· May 21, 2017, 06:17 UTC · re: Neil Cafferkey · lore

Re: Options to avoid docs generation/installation

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...

← back to recent threads