|
a/src/doc/user/xmlmake.sh |
|
b/src/doc/user/xmlmake.sh |
|
... |
|
... |
25 |
#Linux
|
25 |
#Linux
|
26 |
XSLDIR="/usr/share/xml/docbook/stylesheet/docbook-xsl/"
|
26 |
XSLDIR="/usr/share/xml/docbook/stylesheet/docbook-xsl/"
|
27 |
|
27 |
|
28 |
dochunky=1
|
28 |
dochunky=1
|
29 |
test $# -eq 1 && dochunky=0
|
29 |
test $# -eq 1 && dochunky=0
|
30 |
|
|
|
31 |
# Remove the SGML header and uncomment the XML one. Also used to iconv
|
|
|
32 |
# from iso-8859-1 to UTF-8, but the SGML manual is now UTF-8 ? Would
|
|
|
33 |
# that work with the sgml toolchain ??
|
|
|
34 |
echo '<?xml version="1.0" encoding="UTF-8"?>' > usermanual.xml
|
|
|
35 |
sed -e '\!//FreeBSD//DTD!d' \
|
|
|
36 |
-e '\!DTD DocBook XML!s/<!--//' \
|
|
|
37 |
-e '\!/docbookx.dtd!s/-->//' \
|
|
|
38 |
< usermanual.sgml \
|
|
|
39 |
>> usermanual.xml
|
|
|
40 |
|
30 |
|
41 |
# Options common to the single-file and chunked versions
|
31 |
# Options common to the single-file and chunked versions
|
42 |
commonoptions="--stringparam section.autolabel 1 \
|
32 |
commonoptions="--stringparam section.autolabel 1 \
|
43 |
--stringparam section.autolabel.max.depth 3 \
|
33 |
--stringparam section.autolabel.max.depth 3 \
|
44 |
--stringparam section.label.includes.component.label 1 \
|
34 |
--stringparam section.label.includes.component.label 1 \
|