comparison doku/Makefile @ 194:216105271856

Merged with Stephans commits.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 20 Jul 2011 16:27:49 +0200
parents 43f1cbdcd597
children f13f51627f07
comparison
equal deleted inserted replaced
193:8ced5ff9113d 194:216105271856
4 # You can set these variables from the command line. 4 # You can set these variables from the command line.
5 SPHINXOPTS = 5 SPHINXOPTS =
6 SPHINXBUILD = sphinx-build 6 SPHINXBUILD = sphinx-build
7 PAPER = 7 PAPER =
8 BUILDDIR = build 8 BUILDDIR = build
9 MAKE = make
9 10
10 # Internal variables. 11 # Internal variables.
11 PAPEROPT_a4 = -D latex_paper_size=a4 12 PAPEROPT_a4 = -D latex_paper_size=a4
12 PAPEROPT_letter = -D latex_paper_size=letter 13 PAPEROPT_letter = -D latex_paper_size=letter
13 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source 14 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
35 36
36 clean: 37 clean:
37 -rm -rf $(BUILDDIR)/* 38 -rm -rf $(BUILDDIR)/*
38 39
39 html: 40 html:
41 $(MAKE) -C funktionsweise all
40 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html 42 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
41 @echo 43 @echo
42 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." 44 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
43 45
44 dirhtml: 46 dirhtml:
89 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub 91 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
90 @echo 92 @echo
91 @echo "Build finished. The epub file is in $(BUILDDIR)/epub." 93 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
92 94
93 latex: 95 latex:
96 $(MAKE) -C funktionsweise all
94 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 97 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
95 @echo 98 @echo
96 @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." 99 @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
97 @echo "Run \`make' in that directory to run these through (pdf)latex" \ 100 @echo "Run \`make' in that directory to run these through (pdf)latex" \
98 "(use \`make latexpdf' here to do that automatically)." 101 "(use \`make latexpdf' here to do that automatically)."
99 102
100 latexpdf: 103 latexpdf:
104 $(MAKE) -C funktionsweise all
101 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex 105 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
102 @echo "Running LaTeX files through pdflatex..." 106 @echo "Running LaTeX files through pdflatex..."
103 make -C $(BUILDDIR)/latex all-pdf 107 make -C $(BUILDDIR)/latex all-pdf
104 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." 108 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
105 109
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)