On Wed, Dec 10, Ronny Chevalier wrote:
2014-12-10 14:40 GMT+01:00 Thorsten Kukuk <kukuk(a)suse.de>:
> 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.
Ok, so maybe there is a bug because even if I specify manually
--enable-regenerate-docu on configure, the build fail when building
the man pages (for the same reason described above).
But if i specify --disable-regenerate-docu it will try to build the
man pages anyway and fail too.
Did you have the manual page already? I bet you don't have them.
--disalbe-regnerate-docu only makes sense, if you the manual
pages already, for example by extracting the doc tar archive
inside the sources, too.
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)