source: branches/samba-3.2.x/docs-xml/Makefile@ 203

Last change on this file since 203 was 203, checked in by Herwig Bauernfeind, 17 years ago

Missing 3.2.2 client and HOWTO files

File size: 11.5 KB
Line 
1#################################################################
2# Makefile for Samba Documentation
3# Authors:
4# James Moore <[email protected]>
5# Gerald Carter <[email protected]>
6# Jelmer Vernooij <[email protected]>
7include Makefile.settings
8
9# Docs to build
10MAIN_DOCS = $(patsubst %/index.xml,%,$(wildcard */index.xml))
11MANPAGES3 = $(wildcard $(MANPAGEDIR3)/*.?.xml)
12export TEXINPUTS=xslt/latex:.:
13
14# Lists of files to process
15LATEX_FIGURES = xslt/figures/caution.pdf xslt/figures/important.pdf xslt/figures/note.pdf xslt/figures/tip.pdf xslt/figures/warning.pdf
16MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR3)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES3))
17
18DATETIME := $(shell date +%Y%m%d%H%M%S)
19
20ifeq ($(PROFILE), Y)
21XSLTPROC += --profile --load-trace --timing
22endif
23
24ifndef OUTPUTDIR
25Makefile.settings: configure
26 @echo Makefile.settings not present, trying to run configure...
27 ./configure
28
29configure: configure.ac
30 @echo configure not present, trying to regenerate it...
31 autoreconf
32endif
33
34help:
35 @echo "Supported make targets:"
36 @echo " release - Build the docs needed for a Samba release"
37 @echo " all - Build all docs that can be build using the utilities found by configure"
38 @echo " everything - Build all of the above"
39 @echo " pdf,tex,dvi,ps,manpages3,txt,pearson,fo,htmlhelp - Build specific output format"
40 @echo " html - Build multi-file HTML versions"
41 @echo " html-single - Build single-file HTML versions"
42 @echo " htmlman3 - Build HTML version of manpages"
43 @echo " undocumented - Output list of undocumented smb.conf options"
44 @echo " samples - Extract examples"
45
46$(DOCBOOKDIR)/Samba3-ByExample.xml: $(filter-out Samba3-ByExample/index.xml,$(wildcard Samba3-ByExample/*.xml))