Quoting Gustavo Noronha Silva <[EMAIL PROTECTED]>: > I don't know enough of this, but perhaps the doc format has some kind of > conditionals? In the meanwhile I'm uploading a new version of the > package with the new docs replacing the original ones. Thanks a bunch!
IIRC, the document format is plain DocBook XML. One can "profile" DocBook XML using docbook-xsl and xsltproc by using certain attributes for about every element: arch, os, security, userlevel, vendor. E.g. <para>intro</para> <para vendor="Debian">some text</para> <para vendor="Ubuntu">other text</para> <para>extro</para> Sth. like this should work: $ xsltproc --nonet --stringparam profile.vendor Debian \ /usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \ input.dbk > output.dbk The output.dbk will not contain the Ubuntu line. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]