Makefile
This file
The walk stopped after 200 commits: lines older than a489e0e point at it.
Merge branch 'master' of https://github.com/mitsuhiko/clickArmin Ronacherbefore adoptiona489e0e
lines 1–130why, one step back1# Makefile for Sphinx documentation2#34# You can set these variables from the command line.5SPHINXOPTS =6SPHINXBUILD = sphinx-build7PAPER =8BUILDDIR = _build910# Internal variables.11PAPEROPT_a4 = -D latex_paper_size=a412PAPEROPT_letter = -D latex_paper_size=letter13ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .1415.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest1617help:18 @echo "Please use \`make <target>' where <target> is one of"19 @echo " html to make standalone HTML files"20 @echo " dirhtml to make HTML files named index.html in directories"21 @echo " singlehtml to make a single large HTML file"22 @echo " pickle to make pickle files"23 @echo " json to make JSON files"24 @echo " htmlhelp to make HTML files and a HTML help project"25 @echo " qthelp to make HTML files and a qthelp project"26 @echo " devhelp to make HTML files and a Devhelp project"27 @echo " epub to make an epub"28 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"29 @echo " latexpdf to make LaTeX files and run them through pdflatex"30 @echo " text to make text files"31 @echo " man to make manual pages"32 @echo " changes to make an overview of all changed/added/deprecated items"33 @echo " linkcheck to check all external links for integrity"34 @echo " doctest to run all doctests embedded in the documentation (if enabled)"3536clean:37 -rm -rf $(BUILDDIR)/*3839html:40 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html41 @echo42 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."4344dirhtml:45 $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml46 @echo47 @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."4849singlehtml:50 $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml51 @echo52 @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."5354pickle:55 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle56 @echo57 @echo "Build finished; now you can process the pickle files."5859json:60 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json61 @echo62 @echo "Build finished; now you can process the JSON files."6364htmlhelp:65 $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp66 @echo67 @echo "Build finished; now you can run HTML Help Workshop with the" \68 ".hhp project file in $(BUILDDIR)/htmlhelp."6970qthelp:71 $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp72 @echo73 @echo "Build finished; now you can run "qcollectiongenerator" with the" \74 ".qhcp project file in $(BUILDDIR)/qthelp, like this:"75 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Classy.qhcp"76 @echo "To view the help file:"77 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Classy.qhc"7879devhelp:80 $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp81 @echo82 @echo "Build finished."83 @echo "To view the help file:"84 @echo "# mkdir -p $$HOME/.local/share/devhelp/Classy"85 @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Classy"86 @echo "# devhelp"8788epub:89 $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub90 @echo91 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."9293latex:94 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex95 @echo96 @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."97 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \98 "run these through (pdf)latex."99100latexpdf: latex101 $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex102 @echo "Running LaTeX files through pdflatex..."103 make -C $(BUILDDIR)/latex all-pdf104 @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."105106text:107 $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text108 @echo109 @echo "Build finished. The text files are in $(BUILDDIR)/text."110111man:112 $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man113 @echo114 @echo "Build finished. The manual pages are in $(BUILDDIR)/man."115116changes:117 $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes118 @echo119 @echo "The overview file is in $(BUILDDIR)/changes."120121linkcheck:122 $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck123 @echo124 @echo "Link check complete; look for any errors in the above output " \125 "or in $(BUILDDIR)/linkcheck/output.txt."126127doctest:128 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest129 @echo "Testing of doctests in the sources finished, look at the " \130 "results in $(BUILDDIR)/doctest/output.txt."