automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'toolman_MANS' not supported?


From: Harald Dunkel
Subject: Re: 'toolman_MANS' not supported?
Date: Thu, 03 May 2007 12:48:08 +0200
User-agent: Thunderbird 2.0.0.0 (X11/20070421)

Hi Ralf,

Ralf Wildenhues wrote:
Hello Harald,

* Harald Dunkel wrote on Mon, Apr 30, 2007 at 01:04:25PM CEST:
I have to install several  manpages in separate
subdirectories. But it seems that something like

        toolmandir = ${prefix}/tooldir/man
        toolman_MANS = hello.1

does not work. Did I miss something in the documentation
here? (I am using Automake 1.9.6.)

I think <http://sources.redhat.com/automake/automake.html#Man-pages>
states that only manSECTIONdir is allowed, for a valid section named
SECTION.


Maybe you would agree that it is very easy to misunderstand
this part? The other primaries (e.g. DATA, SCRIPTS) do accept
a "real" directory variable, and yet the docu usually mentions
just "bin_PROGRAMS".

I'd be curious as to what advantage there is to install manpages in a
location where the man program will not find them by default?


I am creating several binary modules from a single set of
source files. The generated code is supposed to be
installed in ${prefix}/mod1, ${prefix}/mod2, etc. Each
mod? directory becomes a seperate binary module (using
dpkg).

Of course these binmodules can (optionally) be installed
in a common directory tree later, as needed. But it is
important that the man pages are part of the binary modules
they belong to.

Currently I install the man pages using "tooldir_DATA", of
course. Do you think it would be difficult to replace the
hardwired 'man' in automake.pl by a directory variable?


Regards

Harri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]