Difference between revisions of "DocBook SGML DTD-4.x"

From CBLFS
Jump to navigationJump to search
(No difference)

Revision as of 10:07, 3 September 2006

Download Source: http://www.docbook.org/sgml/4.4/docbook-4.4.zip

Dependencies

Required

Non-Multilib or Multilib

The package source is distributed in zip format and requires unzip. You should create a directory and change to that directory before unzipping the file to ease the removal of the source files after the package has been installed.

Remove the ENT definitions from the catalog file.

sed -i -e '/ISO 8879/d' \
    -e '/gml/d' docbook.cat

Install the package

install -v -d /usr/share/sgml/docbook/sgml-dtd-4.4 &&
chown -R root:root . &&
install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-4.4/catalog &&
cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-4.4 &&
install-catalog --add /etc/sgml/sgml-docbook-dtd-4.4.cat \
    /usr/share/sgml/docbook/sgml-dtd-4.4/catalog &&
install-catalog --add /etc/sgml/sgml-docbook-dtd-4.4.cat \
    /etc/sgml/sgml-docbook.cat