glfs/pst/sgml/sgml-dtd-3/sgml-dtd-3-inst.xml
Igor Živković 2fef1e1fd3 vte corrections
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2027 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-04-19 13:28:39 +00:00

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 &amp;&amp;
sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat &amp;&amp;
cp docbook.cat docbook.cat.orig &amp;&amp;
sed -e '/gml/d' docbook.cat.orig > docbook.cat &amp;&amp;
cp docbook.cat docbook.cat.orig &amp;&amp;
sed -e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
docbook.cat.orig > docbook.cat &amp;&amp;
install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
chown -R root:root . &amp;&amp;
chmod -R 755 . &amp;&amp;
install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &amp;&amp;
cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &amp;&amp;
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
/etc/sgml/sgml-docbook.cat</command></userinput></screen>
</sect2>