Re: [PATCH] [KERNEL-DOC] kill warnings when building mandocs

Borislav Petkov
2007-04-19T06:36:18Z

<snip>
> > I'm pretty sure the reason you cannot reproduce this warning is the line
> >
> > <xsl:param name="refentry.version.suppress">1</xsl:param>
> >
> > which can be found in param.xsl, it being a part of the docbook-xsl
> > distribution. The parameter's name is self-explanatory and a '1' suppresses
> > the version generation. I was able to get this error because in the
> > debian docbook-xsl package this param value is set to 0 by default.
>
> Hm, I don't seem to have that file installed (except in
> /usr/share/xml/docbook/stylesheet/...). Where would it normally
> be installed?

/usr/share/xml/docbook/stylesheet/nwalsh/manpages/param.xsl here

> > This means, some users will get this warning and some will not, depending on the
> > setting in the param.xsl file. What is the way to go here wrt to a solution
> > dealing with all cases:
> >
> > 1. patch the kernel-doc?
> > 2. issue an info so that the user can suppress the annoying warning by
> > themselves?
> > 3. ...?
>
>
> Are other people seeing these warning messages ??
Hm, is anyone building the manpages target at all?

> If so, I think that we should patch the kernel-doc. I don't think
> that many people would read info about how to avoid the warnings.

--
Regards/Gruß,
Boris.