2014-12-10 22:48 GMT+01:00 Thorsten Kukuk <kukuk(a)suse.de>:
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.
Yes I understand that, but I didn't have the man pages, I just wanted
to build the man pages, so the first time I just used ./configure
without disabling regenerate docu, and it failed. And the only way I
managed to get it working is by adding Make.xml.rules. As I understand
now this is completely wrong, so sorry for the noise.
But maybe i'm missing something here but I still can't build the man pages.
./autogen.sh
./configure
make
And it ends up with
make[3]: *** No rule to make target 'pam.3', needed by 'all-am'. Stop.
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)
_______________________________________________
Pam-developers mailing list
Pam-developers(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/pam-developers