mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
2fef1e1fd3
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2027 af4574ff-66df-0310-9fd7-8a98e5e911e0
24 lines
1.3 KiB
XML
24 lines
1.3 KiB
XML
<sect2>
|
|
<title>Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
|
|
|
|
<para>Install <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>cp docbook.cat docbook.cat.orig &&
|
|
sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat &&
|
|
cp docbook.cat docbook.cat.orig &&
|
|
sed -e '/gml/d' docbook.cat.orig > docbook.cat &&
|
|
cp docbook.cat docbook.cat.orig &&
|
|
sed -e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
|
|
docbook.cat.orig > docbook.cat &&
|
|
install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &&
|
|
chown -R root:root . &&
|
|
chmod -R 755 . &&
|
|
install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &&
|
|
cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &&
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
|
|
/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &&
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
|
|
/etc/sgml/sgml-docbook.cat</command></userinput></screen>
|
|
|
|
</sect2>
|