[PATCH] s4/waf: Add '--no-manpages' option

Stefan (metze) Metzmacher metze at samba.org
Fri Jun 18 02:04:21 MDT 2010


Am 18.06.2010 09:06, schrieb Jelmer Vernooij:
> On Fri, 2010-06-18 at 04:26 +0300, Kamen Mazdrashki wrote:
>> Here is a small patch to introduce --no-manpages during configure for the
>> WAF build.
>> As man pages should be part of the release buld, I've put an annoying
>> warning
>> that man pages are not to be generated (could help in case someone tries to
>> make
>> full build using configure.developer script)
>>
>> Please push it if you find this useful.
> Thanks for the patch. I don't think we should be disabling manpages by
> default though.

Yes, I also don't like the 2nd patch. Developers should notice if the
generation
of manpages is broken.

If modified the first patch a bit, see
http://gitweb.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master4-tmp
And also skip the generation of pidl manpages with --no-manpages.

> Rather, if you'd want to not have to specify this flag we should detect
> if the user has the stylesheets installed locally and only prohibit
> generating them if they don't have them.

Yes, the usage of --nonet would be really good as a default,
together with a test that checks if we can generate a trivial manpage
when using the --nonet option.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100618/2e30c392/attachment.pgp>


More information about the samba-technical mailing list