Skip to contentSkip to conversation

kill warnings when building mandocs

PATCH Randy Dunlap 1 participant 1 message Apr 22, 2007

lore
Share & tools
lore
#0 lore raw

---
~Randy

--- Original Message ---

Quoted 39 lines · Randy Dunlap
Quoted 16 lines · On Thu, 19 Apr 2007 08:20:59 +0200 Borislav Petkov wrote:
Quoted 15 lines

<snip>

Quoted 12 lines
Quoted 8 lines

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?

Quoted 8 lines
Quoted 1 line

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

OK, I have that one, with a /current/ stuck in there:

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

<xsl:param name="refentry.version.suppress">0</xsl:param>

That's why you don't get the warnings.

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines

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

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Hm, is anyone building the manpages target at all?

Other than the 2 of us... I couldn't say.

By the way, can we consider the item
"- clean up Documentation/DocBook/, fix warnings that occur on make *docs."
from the KJ TODO list as now done?

i'm traveling atm i'll check on that next week.

Quoted 11 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

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.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

Signature · 2 lines
Regards/Gruß,
    Boris.