Bug#410916: update-manager: Manual refers to wrong repositories

W. Borgert debacle at debian.org
Tue Feb 20 17:27:54 CET 2007


Quoting Gustavo Noronha Silva <kov at kov.eti.br>:
> 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.





More information about the Pkg-gnome-maintainers mailing list