Options to avoid docs generation/installation
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
Quoted 4 lines · Neil Cafferkey
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.
Quoted 3 lines
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...