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