Add Jerry's list of relevant TDB files to smbd manpage
[Samba.git] / docs / docbook.txt
blob54a6d6ef8f440873a9bdcc0ae948f2de92ad4554
1 !==
2 !== docbook.txt for Samba 3.0
3 !==
4 !== Author:     David Bannon, D.Bannon@latrobe.edu.au  November, 2000
5 !== Updates:    Gerald (Jerry) Carter, jerry@samba.org, Feb. 2001
6 !== Updates:    Jelmer Vernooij, jelmer@samba.org,              Aug, 2002
7 !== Updates:    Jelmer Vernooij, jelmer@samba.org,              Jun, 2003
8 !== Updates:    Jelmer Vernooij, jelmer@samba.org,              May, 2004
10 Quick start
11 -----------
13 Run:
15 autoreconf
16 ./configure
17 make all
19 What are DocBook documents doing in the Samba Distribution ?
20 -----------------------------------------------------------
22 We have converted all samba docs to XML/DocBook V4.2
23 in order to make them easier to maintain and produce a nicer looking
24 product.
26 This short note (strange isn't it how it always starts out as a short note
27 and becomes a long one ?) will explain very briefly how and why we have
28 done this.
31 The format
32 ----------
33 If you are new to xml, regard an xml file as 'source code'. You don't
34 read it directly, but use it to create other formats (like the txt and html
35 included in ../txtdocs and ../htmldocs).
37 Docbook is a particular XML style, particularly suited to producing
38 technical manuals. 
40 For more information on DocBook tags and format, see "DocBook: The 
41 Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
42 This book covers DocBook V4.2 and is available on-line
43 at http://www.docbook.org/
45 The Output
46 ----------
47 The current Samba CVS tree contains the XML/DocBook source files.
49 A regularly generated version can be found at http://samba.org/samba/docs/.
51 The Tools
52 ---------
54 To generate the docs, you need to have the following packages installed:
56  * autoconf
57  * docbook-utils
58  * xsltproc
59  * pngtopnm and pnmtops (from the netpbm utilities)
61 For generating PDF (thru LaTeX):
62  * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
63    dated 20030622 -- it works best. Versions previous to 20030425 are known
64    to have problems, as well as current (as of 20031210) snapshots.
65  * pdflatex
67 For generating PostScript (thru LaTeX):
68  * latex
69  * dvips 
71 For generating ASCII:
72  * xmlto 
74 This directory now contains a ./configure script and Makefile to 
75 support the automated building of man pages (including HTML versions), and 
76 the building of the Samba-HOWTO-Collection and the 
77 Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).
79 The configure script detects which of the required utilities are installed 
80 and builds as much docs as it can using these tools.