[gnutls-devel] [PATCH 3/3] build: always install man(1)

Alon Bar-Lev alon.barlev at gmail.com
Fri Dec 18 10:14:27 CET 2015


On 18 December 2015 at 11:09, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Fri, Dec 18, 2015 at 10:05 AM, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
>>> On Thu, Dec 17, 2015 at 6:57 PM, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
>>> > currently these man pages are installed only if --enable-doc
>>> > is provided, while these are not actually docs, do not require any
>>> > special dependency, nor consume large space.
>>> Hi Alon,
>>>  I've applied the first two but not this one. The disable-doc is used
>>> by systems which want no documentation at all and this commit changes
>>> that. I'd prefer to keep things simple and have a single flag for
>>> documentation irrespective of its type.
>> OK, what about I add --enable-man ?
>
> No problem with that. Can it be done by keeping the manpages to their
> current location?

it is difficult as you have:

if ENABLE_DOC
SUBDIRS += doc
endif

and doc/Makefile.am is quite complex, I will have to condition it entirely.

I believe it will be simpler to split the doc (api) ones from the
other, but I can create two alternatives.

Let's begin with the simpler one.

Alon



More information about the Gnutls-devel mailing list