A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « LibArchive 32-bit | HOME | Docbook 4.5 SGML DTD » |
Name: Docbook 3.1 SGML DTDs
Summary: The document definitions of SGML data
License: BSD 3-clause and MIT
Version: 3.1
URL: https://www.docbook.org/sgml/3.1/docbk31.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 docbk31
cd docbk31
cp ../docbk31.zip ./
unzip docbk31.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 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat
install -v -d -m755 -o root -g root /usr/share/sgml/docbook/sgml-dtd-3.1
install -v -m644 -o root -g root docbook.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog
for FILE in *.dtd *.mod *.dcl; do
install -v -m 644 -o root -g root $FILE /usr/share/sgml/docbook/sgml-dtd-3.1/
done
install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog
install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat /etc/sgml/sgml-docbook.cat
cat >> /usr/share/sgml/docbook/sgml-dtd-3.1/catalog << "EOF"
-- Begin Single Major Version catalog changes --
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
-- End Single Major Version catalog changes --
EOF
| Contents | |
|---|---|
| Installed Files | SGML DTD and MOD files |
| Navigation | ||
|---|---|---|
| « LibArchive 32-bit | HOME | Docbook 4.5 SGML DTD » |