DocBook XSL Stylesheets

From CBLFS
Revision as of 11:25, 16 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.69.1.tar.bz2
Optional Documentation: http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-1.69.1.tar.bz2

Dependencies

Required

Non-Multilib or Multilib

If you downloaded the optional documentation tarball, unpack it when you unpack the source tarball. The documentation tarball unpacks into subdirectories of the source tree.

Install DocBook XSL Stylesheets by running the following commands:

install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.69.1 &&
cp -v -R VERSION common eclipse extensions fo html \
         htmlhelp images javahelp lib manpages params \
         profiling slides template website xhtml \
    /usr/share/xml/docbook/xsl-stylesheets-1.69.1

If you downloaded the optional documentation tarball, install the documentation by issuing the following commands

install -v -m755 -d /usr/share/doc/docbook-xsl-1.69.1 &&
cp -v -R doc/* /usr/share/doc/docbook-xsl-1.69.1

Create (or append) and populate the XML catalog file using the following commands:

if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
    xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
           "http://docbook.sourceforge.net/release/xsl/1.69.1" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl/1.69.1" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
           "http://docbook.sourceforge.net/release/xsl/current" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl/current" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
    /etc/xml/catalog