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

Jelmer Vernooij jelmer at samba.org
Fri Jun 18 05:47:15 MDT 2010


On Fri, 2010-06-18 at 14:23 +0300, Kamen Mazdrashki wrote:
> On Fri, Jun 18, 2010 at 11:04, Stefan (metze) Metzmacher
> <metze at samba.org> wrote:

>         Yes, I also don't like the 2nd patch. Developers should notice
>         if the
>         generation
>         of manpages is broken.
> I don't have the impression most of the developers care about man
> pages generation,
> perhaps it is a wrong impression though :)
Even if they don't view the manpages it's important for them to notice
when they break.

>         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.

> What do you thing about this one:
> http://gitweb.samba.org/?p=kamenim/samba.git;a=shortlog;h=refs/heads/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.
>         
> Such an option would be my favorite :)
> (I recall that stand alone build for talloc also wants style sheets
> from the net, right?)
talloc (like Samba) only uses stylesheets from the net if you don't have
them installed locally.

Is there a particular reason you can't install docbook-xsl ? With that
package installed it takes less than 10 seconds to generate the manpages
here.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100618/18ffb7d9/attachment.pgp>


More information about the samba-technical mailing list