2004-04-07 14:15:11 +04:00
!==
!== docbook.txt for Samba 3.0
!==
!== Author: David Bannon, D.Bannon@latrobe.edu.au November, 2000
!== Updates: Gerald (Jerry) Carter, jerry@samba.org, Feb. 2001
!== Updates: Jelmer Vernooij, jelmer@samba.org, Aug, 2002
!== Updates: Jelmer Vernooij, jelmer@samba.org, Jun, 2003
2004-05-14 20:36:04 +04:00
!== Updates: Jelmer Vernooij, jelmer@samba.org, May, 2004
2005-05-06 02:38:51 +04:00
!== Updates: Jelmer Vernooij, jelmer@samba.org, May, 2005
2004-04-07 14:15:11 +04:00
2004-05-31 15:55:53 +04:00
Quick start
-----------
Run:
2009-05-01 19:24:11 +04:00
$ make all
or to see what is possible:
$ make help
2004-05-31 15:55:53 +04:00
2004-04-07 14:15:11 +04:00
What are DocBook documents doing in the Samba Distribution ?
-----------------------------------------------------------
We have converted all samba docs to XML/DocBook V4.2
in order to make them easier to maintain and produce a nicer looking
product.
This short note (strange isn't it how it always starts out as a short note
and becomes a long one ?) will explain very briefly how and why we have
done this.
The format
----------
2009-05-01 19:24:11 +04:00
2004-04-07 14:15:11 +04:00
If you are new to xml, regard an xml file as 'source code'. You don't
2020-06-03 03:33:50 +03:00
read it directly, but use it to create other formats (like the html
included in ../htmldocs).
2004-04-07 14:15:11 +04:00
Docbook is a particular XML style, particularly suited to producing
technical manuals.
For more information on DocBook tags and format, see "DocBook: The
Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
This book covers DocBook V4.2 and is available on-line
at http://www.docbook.org/
The Output
----------
2004-06-14 17:47:11 +04:00
The current Samba Subversion tree contains the XML/DocBook source files.
2004-04-07 14:15:11 +04:00
2016-12-08 20:45:24 +03:00
A regularly generated version can be found at https://www.samba.org/samba/docs/.
2004-04-07 14:15:11 +04:00
The Tools
---------
To generate the docs, you need to have the following packages installed:
2005-03-16 16:01:59 +03:00
* GNU Make
* GNU autoconf
2004-04-07 14:15:11 +04:00
* xsltproc
2009-05-01 19:24:11 +04:00
For generating PDF and PostScript (thru LaTeX):
* dblatex (from http://dblatex.sf.net/)
2004-04-07 14:15:11 +04:00
2005-03-16 16:01:59 +03:00
For generating PDF (thru FO):
* fop (http://xml.apache.org/fop/)
2004-04-07 14:15:11 +04:00
For generating ASCII:
2004-06-14 17:47:11 +04:00
* html2text
2004-04-07 14:15:11 +04:00
2005-03-16 16:01:59 +03:00
For generating texi files:
* docbook2x-texi
* makeinfo
For validating:
* xmllint
2004-04-07 14:15:11 +04:00
This directory now contains a ./configure script and Makefile to
support the automated building of man pages (including HTML versions), and
the building of the Samba-HOWTO-Collection and the
2009-05-01 19:24:11 +04:00
Samba Developers Guide (HTML,TeX,PDF,PS,Text versions).
2004-05-14 20:36:04 +04:00
The configure script detects which of the required utilities are installed
and builds as much docs as it can using these tools.
2004-06-14 17:47:11 +04:00
Help! Building the docs generates a lot of HTTP traffic...
2009-05-01 19:24:11 +04:00
----------------------------------------------------------
2004-06-14 17:47:11 +04:00
To be able to build the docs without an internet connection (or faster with
a slow internet connection), you need to set up "catalogs".
2004-07-14 02:47:11 +04:00
For the Pearson DTD, add something like:
<public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>
2005-05-02 00:25:50 +04:00
For the Samba DTD's, add something like:
<rewriteURI uriStartString="http://www.samba.org/samba/DTD" rewritePrefix="file:///home/jelmer/samba-web/DTD"/>
2004-06-14 17:47:11 +04:00
catalog entries for the other DTD's and XSL scripts should be present on your
system already.
2004-06-15 01:25:16 +04:00
Windows Help files
----------
2009-05-01 19:24:11 +04:00
2004-06-15 01:25:16 +04:00
http://htmlhelp.berlios.de/howto/mshh4wine.php