aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/compiling.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/src/compiling.xml45
1 files changed, 23 insertions, 22 deletions
diff --git a/doc/src/compiling.xml b/doc/src/compiling.xml
index 8941674..fdf62a5 100644
--- a/doc/src/compiling.xml
+++ b/doc/src/compiling.xml
@@ -34,9 +34,31 @@ located in the same directory with executable file.
</section>
<section>
+ <title>Compiling documentation</title>
+ <para>
+You should have DocBook and DocBook Website installed in your system.
+Go to <filename>doc/book</filename> directory and run, for example:
+<screen>
+xmlto html-nochunks syslog-win32.xml</screen>
+ </para>
+ <para>
+Go to <filename>doc/website</filename> directory and issue the following commands:
+<screen>
+xsltproc --output autolayout.xml \
+ http://docbook.sourceforge.net/release/website/2.6/xsl/autolayout.xsl \
+ layout.xml
+
+xsltproc --stringparam output-root htdocs \
+ stylesheets/chunk-tabular.xsl \
+ autolayout.xml</screen>
+ </para>
+</section>
+
+<section>
<title>Building binary distribution</title>
<para>
-Use <command>build.sh</command>. It does all you need.
+At first, compile documentation in <filename>doc/book</filename>.
+Then use <command>build.sh</command>. It does all you need.
You should have some packages&nbsp;&mdash; look into the script
to see which ones.
Also, you should have <ulink url="http://www.jrsoftware.org">Inno Setup</ulink>
@@ -75,24 +97,3 @@ DISTFILES=&lt;path to the directory with packages&gt; \
</para>
</section>
</section>
-
-<section>
- <title>Compiling documentation</title>
- <para>
-You should have DocBook and DocBook Website installed in your system.
-Go to <filename>doc/book</filename> directory and run, for example:
-<screen>
-xmlto html-nochunks syslog-win32.xml</screen>
- </para>
- <para>
-Go to <filename>doc/website</filename> directory and issue the following commands:
-<screen>
-xsltproc --output autolayout.xml \
- http://docbook.sourceforge.net/release/website/2.6/xsl/autolayout.xsl \
- layout.xml
-
-xsltproc --stringparam output-root htdocs \
- stylesheets/chunk-tabular.xsl \
- autolayout.xml</screen>
- </para>
-</section>