1
This document describes how the scripts in this directory can be used for
2
building the Debian Installer Manual.
4
The scripts support building the manual for different architectures, in
5
different languages and in different document types.
6
The currently supported document types are:
12
Note: Building pdf and ps versions of the manual for Japanese and Greek is
13
not supported at the moment.
14
Reason is that we have not yet figured out how to use the required
15
fonts in the build process.
21
The build dependencies depend on which document types you wish to generate:
22
all : docbook, docbook-xml, docbook-xsl, xsltproc
23
html : (no additional packages required)
24
pdf, ps : openjade, jadetex, docbook-dsssl
28
Note: It's not possible to build the documentation on Woody as packages are
29
required that are not available for Woody.
30
Note: jadetex depends on tetex-bin which unfortunately depends on some X libs,
31
so installing jadetex will pull in a basic X installation.
32
There are several open bugs about this (the oldest over 3 years old, but
33
it seems nobody cares enough to fix it (see #223728).
40
buildone.sh: For given architecture and language builds one set of
41
documentation in .html, .fo (and sometimes .pdf).
43
build.sh: For each language and architecture calls buildone.sh, moves
44
rendered documentation somewhere and cleans after that.
46
clear.sh: Does the actual cleaning.
50
install.xml.template: Main xml file used to aggregate various parts into
51
one big whole. This is a bit customized compared to the original
52
(changed SYSTEM entities, hardcode local path to docbook dtd -- broken
55
docstruct.ent: Describes physical structure of documentation. Not
56
included directly (because of hardcoded en/ path), but in a form
57
of dynamic.ent (after some path replacing by sed).
61
common.ent: Contains various entities like &num-of-distrib-packages;
62
&debian; &arch-title; ...
64
urls.ent: Contains various urls used through the manual.
66
dynamic.ent: Generated on-the-fly from the shell script buildone.sh.
67
Contains lang and arch specific entities which can't be profiled
70
any other .ent: Location of installation files (kernels, boot disks,
71
base tarballs) for various architectures.
75
style-common.xsl: Common parameters for xsl transformation.
77
style-html.xsl: HTML-specific parameters for xsl transformation.
79
style-print.dsl: Parameters for dvi transformation.
81
style-fo.xsl: FO-specific parameters for xsl transformation.
86
A file for each architecture where architecture specific parameters
92
After you customize build*.sh and style-*.xsl to suit your needs
93
(esp. various paths), you can run
95
./buildone.sh <architecture> <language> <format(s)>
97
to build documentation for one specific architecture and language, and
98
one or more output formats.
99
If you call buildone.sh without any parameters, it will build the html
100
version of the English manual for i386 (equivalent to 'i386 en html').
101
If you specify multiple output formats, you should put quotes around them.
102
Example: ./buildone.sh sparc es "html pdf"
104
For mass building you can use ./build.sh script.
108
05. December 2004 Frans Pop
109
27. January 2004 Miroslav Kure