1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
samba-mirror/docs
2008-04-23 08:45:53 -05:00
..
archives adding the THANKS and history files back after talking to jht 2008-04-23 08:45:47 -05:00
devel Replace entities with xi:include 2008-04-23 08:45:53 -05:00
entities Use xi:include instead of entities 2008-04-23 08:45:53 -05:00
guide Remove redundant attributes 2008-04-23 08:45:52 -05:00
howto Solaris patch 113476 has been replaced by 112960-14 (bug #1453) 2008-04-23 08:45:53 -05:00
manpages Add Jerry's list of relevant TDB files to smbd manpage 2008-04-23 08:45:53 -05:00
registry Add all the source files from the old CVS tree, 2008-04-23 08:45:43 -05:00
scripts Add script that detects missing manpages 2008-04-23 08:45:50 -05:00
smbdotconf Document 'cups server' 2008-04-23 08:45:52 -05:00
xslt Add Jerry's list of relevant TDB files to smbd manpage 2008-04-23 08:45:53 -05:00
aclocal.m4 Allow specifying a directory with the samba sources 2008-04-23 08:45:50 -05:00
configure.in Build html version of manpages, if possible 2008-04-23 08:45:52 -05:00
htmldocs.html Typo 2008-04-23 08:45:52 -05:00
Makefile.in Replace entities with xi:include 2008-04-23 08:45:53 -05:00
README Rename docbook.txt to README to give it some more attention. 2008-04-23 08:45:53 -05:00
Samba.desktop Added polish translation of the comment. 2008-04-23 08:45:52 -05:00
settings.xsl.in Add all the source files from the old CVS tree, 2008-04-23 08:45:43 -05: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
!== Updates: 	Jelmer Vernooij, jelmer@samba.org,		May, 2004

Quick start
-----------

Run:

autoreconf
./configure
make all

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
----------
If you are new to xml, regard an xml file as 'source code'. You don't
read it directly, but use it to create other formats (like the txt and html
included in ../txtdocs and ../htmldocs).

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
----------
The current Samba CVS tree contains the XML/DocBook source files.

A regularly generated version can be found at http://samba.org/samba/docs/.

The Tools
---------

To generate the docs, you need to have the following packages installed:

 * autoconf
 * docbook-utils
 * xsltproc
 * pngtopnm and pnmtops (from the netpbm utilities)

For generating PDF (thru LaTeX):
 * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
   dated 20030622 -- it works best. Versions previous to 20030425 are known
   to have problems, as well as current (as of 20031210) snapshots.
 * pdflatex

For generating PostScript (thru LaTeX):
 * latex
 * dvips 

For generating ASCII:
 * xmlto 

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 
Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).

The configure script detects which of the required utilities are installed 
and builds as much docs as it can using these tools.