git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Options to avoid docs generation/installation
@ 2017-05-21  2:56 Neil Cafferkey
  2017-05-21  6:17 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Cafferkey @ 2017-05-21  2:56 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Options to avoid docs generation/installation
  2017-05-21  2:56 Options to avoid docs generation/installation Neil Cafferkey
@ 2017-05-21  6:17 ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2017-05-21  6:17 UTC (permalink / raw)
  To: Neil Cafferkey; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-21  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-21  2:56 Options to avoid docs generation/installation Neil Cafferkey
2017-05-21  6:17 ` Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).