2
# included from Top Level Makefile.am
3
# All paths should be given relative to the root
10
docs/drizzled_header.html \
11
docs/plugins/list.rst \
12
docs/plugins/haildb/index.rst \
13
docs/plugins/innobase/index.rst \
14
docs/plugins/mysql_protocol/index.rst \
15
docs/plugins/transaction_log/index.rst \
16
${top_srcdir}/docs/*.png \
17
${top_srcdir}/docs/*.rst \
18
${top_srcdir}/docs/clients/*.rst \
19
${top_srcdir}/docs/functions/*.rst \
20
${top_srcdir}/docs/installing/*.rst \
21
${top_srcdir}/docs/libdrizzle/*.rst \
22
${top_srcdir}/docs/testing/*.rst
24
# Makefile for Sphinx documentation
27
SPHINXOPTS = -W -D release=${PANDORA_RELEASE_VERSION}
29
SPHINX_BUILDDIR = ${top_builddir}/docs
32
PAPEROPT_a4 = -D latex_paper_size=a4
33
PAPEROPT_letter = -D latex_paper_size=letter
34
ALLSPHINXOPTS = -d $(SPHINX_BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ${top_srcdir}/docs
36
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest doxygen
39
${DOXYGEN} docs/Doxyfile
44
docs/man/drizzledump.1
45
DISTCLEANFILES+= docs/man/drizzledump.1
47
docs/man/drizzledump.1: man
52
@echo "Please use \`make <target>' where <target> is one of"
53
@echo " html to make standalone HTML files"
54
@echo " dirhtml to make HTML files named index.html in directories"
55
@echo " singlehtml to make a single large HTML file"
56
@echo " pickle to make pickle files"
57
@echo " json to make JSON files"
58
@echo " htmlhelp to make HTML files and a HTML help project"
59
@echo " qthelp to make HTML files and a qthelp project"
60
@echo " devhelp to make HTML files and a Devhelp project"
61
@echo " epub to make an epub"
62
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
63
@echo " latexpdf to make LaTeX files and run them through pdflatex"
64
@echo " text to make text files"
65
@echo " man to make manual pages"
66
@echo " changes to make an overview of all changed/added/deprecated items"
67
@echo " linkcheck to check all external links for integrity"
68
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
71
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html
73
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html."
76
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/dirhtml
78
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/dirhtml."
81
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml
83
@echo "Build finished. The HTML page is in $(SPHINX_BUILDDIR)/singlehtml."
86
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/pickle
88
@echo "Build finished; now you can process the pickle files."
91
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/json
93
@echo "Build finished; now you can process the JSON files."
96
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/htmlhelp
98
@echo "Build finished; now you can run HTML Help Workshop with the" \
99
".hhp project file in $(SPHINX_BUILDDIR)/htmlhelp."
102
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/qthelp
104
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
105
".qhcp project file in $(SPHINX_BUILDDIR)/qthelp, like this:"
106
@echo "# qcollectiongenerator $(SPHINX_BUILDDIR)/qthelp/Drizzle.qhcp"
107
@echo "To view the help file:"
108
@echo "# assistant -collectionFile $(SPHINX_BUILDDIR)/qthelp/Drizzle.qhc"
111
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/devhelp
113
@echo "Build finished."
114
@echo "To view the help file:"
115
@echo "# mkdir -p $$HOME/.local/share/devhelp/Drizzle"
116
@echo "# ln -s $(SPHINX_BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Drizzle"
120
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/epub
122
@echo "Build finished. The epub file is in $(SPHINX_BUILDDIR)/epub."
125
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex
127
@echo "Build finished; the LaTeX files are in $(SPHINX_BUILDDIR)/latex."
128
@echo "Run \`make' in that directory to run these through (pdf)latex" \
129
"(use \`make latexpdf' here to do that automatically)."
132
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex
133
@echo "Running LaTeX files through pdflatex..."
134
make -C $(SPHINX_BUILDDIR)/latex all-pdf
135
@echo "pdflatex finished; the PDF files are in $(SPHINX_BUILDDIR)/latex."
138
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/text
140
@echo "Build finished. The text files are in $(SPHINX_BUILDDIR)/text."
143
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/man
145
@echo "Build finished. The manual pages are in $(SPHINX_BUILDDIR)/man."
148
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/changes
150
@echo "The overview file is in $(SPHINX_BUILDDIR)/changes."
153
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/linkcheck
155
@echo "Link check complete; look for any errors in the above output " \
156
"or in $(SPHINX_BUILDDIR)/linkcheck/output.txt."
159
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/doctest
160
@echo "Testing of doctests in the sources finished, look at the " \
161
"results in $(SPHINX_BUILDDIR)/doctest/output.txt."