summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-13 00:48:46 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:46 -0500
commit8a5498d3bfa78923cbb4e6c79e152431223a4f86 (patch)
tree6f14e0c9690c6b5363d70cf497b6f1639f8cecea /docs/Makefile
parent5cec435fda2f812ef47185e331979e1072d62f43 (diff)
downloadsamba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.gz
samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.bz2
samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.zip
Another set of updates; includes the new examples code and use of
10.5pt fonts. Still needs some polishing.. (This used to be commit eb11ea43f68f57d877dc80d4912396ad8e91a081)
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/Makefile b/docs/Makefile
index ee719ed0c3..f7f6ed5ff3 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -9,6 +9,7 @@ include Makefile.settings
# Docs to build
MAIN_DOCS = $(patsubst %/index.xml,%,$(wildcard */index.xml))
MANPAGES3 = $(wildcard $(MANPAGEDIR3)/*.?.xml)
+export TEXINPUTS=xslt/latex:.:
# Lists of files to process
LATEX_FIGURES = xslt/figures/caution.pdf xslt/figures/important.pdf xslt/figures/note.pdf xslt/figures/tip.pdf xslt/figures/warning.pdf
@@ -74,11 +75,11 @@ validate: $(addsuffix -validate,$(MAIN_DOCS))
#
$(DOCBOOKDIR)/%.xml: %/index.xml xslt/expand-sambadoc.xsl
mkdir -p $(@D)
- $(XSLTPROC) --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --xinclude --output $@ xslt/expand-sambadoc.xsl $<
+ $(XSLTPROC) --stringparam noreference 1 --xinclude --output $@ xslt/expand-sambadoc.xsl $<
$(DOCBOOKDIR)/manpages-3/%.xml: $(MANPAGEDIR3)/%.xml xslt/expand-sambadoc.xsl
mkdir -p $(@D)
- $(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
+ $(XSLTPROC) --xinclude --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
$(DOCBOOKDIR)/manpages-3/index.xml: $(MANPAGES3) xslt/manpage-summary.xsl
mkdir -p $(@D)
@@ -116,9 +117,9 @@ $(TXTDIR)/%.txt: $(HTMLDIR)/%.html
$(HTML2TEXT) -nobs -style pretty -o $@ $<
# Tex files
-%.tex: $(DOCBOOKDIR)/%.xml xslt/latex.xsl
+%.tex: %/index.xml xslt/latex.xsl
mkdir -p $(@D)
- $(XSLTPROC) --output $@ xslt/latex.xsl $<
+ $(XSLTPROC) --stringparam latex.imagebasedir "$*/" --xinclude --output $@ xslt/latex.xsl $<
latexfigures: $(LATEX_FIGURES)