On Tue, Dec 09, Ronny Chevalier wrote:
2014-12-09 1:53 GMT+01:00 Dmitry V. Levin <ldv(a)altlinux.org>:
> On Mon, Aug 11, 2014 at 04:35:37PM +0200, Ronny Chevalier wrote:
>> * doc/man/Makefile.am: include Make.xml.rules even if
>> ENABLE_REGENERATE_MAN = 0
>
> Why Make.xml.rules is needed when ENABLE_REGENERATE_MAN == 0?
> It doesn't look obvious.
After fixing the obvious typo in pam_authenticate I wanted to compile
the man pages, but it failed for every target because there was no
rule to build the targets (e.g. pam_authenticate.3).
Correct, if ENABLE_REGENERATE_MAN is set to 0, you cannot regenerate
or build the manual page. Regenerate because there are pre-build
manual pages for Linux-PAM in a seperate tar archive.
So maybe i'm wrong but the only place where there is a rule to
build
the man pages according to the xml file is in Make.xml.rules ?
Correct.
And the way I understand ENABLE_REGENERATE_MAN, it's not to
disable
building of man pages ? Otherwise the name should be changed to
ENABLE_GENERATE_MAN or ENABLE_BUILD_MAN ?
In the end this is the same, and if you install both tar
archives, regenerate is correct.
Thorsten
--
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)