A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « Docbook 3.1 SGML DTDs | HOME | Docbook 4.5 XML DTDs » |
Name: Docbook 4.5 SGML DTDs
Summary: The document definitions of SGML data
License: BSD 3-clause and MIT
Version: 4.5
URL: https://www.docbook.org/sgml/4.5/docbook-4.5.zip
Average Build Time: less than 0.1 SBU
Used Install Space: 626 KiB
This package is distributed as a PkZip file. Unlike other packages in the system that come as tar.gz, tar.bz2. or tar.xz, the PkZip format does not create a directory for the extracted files to be uncompressed into. To ensure that the /sources tree remains clean, run the following commands to extract the content:
mkdir docbook-4.5
cd docbook-4.5
cp ../docbook-4.5.zip ./
unzip docbook-4.5.zip
Once extracted, remain in this directory until this package is installed.
This package contains no configuration script, nor requires any compilation.
To install Docbook 3.1 SGML DTDs into the build tree, run the following commands:
sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
install -v -d -m755 -o root -g root /usr/share/sgml/docbook/sgml-dtd-4.5
install -v -m644 -o root -g root docbook.cat /usr/share/sgml/docbook/sgml-dtd-4.5/catalog
for FILE in *.dtd *.mod *.dcl; do
install -v -m644 -o root -g root $FILE /usr/share/sgml/docbook/sgml-dtd-4.5/
done
install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat /usr/share/sgml/docbook/sgml-dtd-4.5/catalog
install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat /etc/sgml/sgml-docbook.cat
cat >> /usr/share/sgml/docbook/sgml-dtd-4.5/catalog << "EOF"
-- Begin Single Major Version catalog changes --
PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
-- End Single Major Version catalog changes --
EOF
| Contents | |
|---|---|
| Installed Files | SGML DTD and MOD files |
| Navigation | ||
|---|---|---|
| « Docbook 3.1 SGML DTDs | HOME | Docbook 4.5 XML DTDs » |