2424 @echo " serve to start a local server for viewing docs"
2525 @echo " dirhtml to make HTML files named index.html in directories"
2626 @echo " singlehtml to make a single large HTML file"
27- @echo " pickle to make pickle files"
28- @echo " json to make JSON files"
29- @echo " htmlhelp to make HTML files and a HTML help project"
30- @echo " qthelp to make HTML files and a qthelp project"
31- @echo " devhelp to make HTML files and a Devhelp project"
32- @echo " epub to make an epub"
33- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
34- @echo " latexpdf to make LaTeX files and run them through pdflatex"
35- @echo " text to make text files"
36- @echo " man to make manual pages"
37- @echo " texinfo to make Texinfo files"
38- @echo " info to make Texinfo files and run them through makeinfo"
39- @echo " gettext to make PO message catalogs"
40- @echo " changes to make an overview of all changed/added/deprecated items"
4127 @echo " linkcheck to check all external links for integrity"
42- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
4328
4429.PHONY : clean
4530clean :
@@ -69,119 +54,6 @@ singlehtml:
6954 @echo
7055 @echo " Build finished. The HTML page is in $( BUILDDIR) /singlehtml."
7156
72- .PHONY : pickle
73- pickle :
74- $(MAKE ) install-sphinx
75- $(SPHINXBUILD ) --builder pickle $(ALLSPHINXOPTS ) $(BUILDDIR ) /pickle
76- @echo
77- @echo " Build finished; now you can process the pickle files."
78-
79- .PHONY : json
80- json :
81- $(MAKE ) install-sphinx
82- $(SPHINXBUILD ) --builder json $(ALLSPHINXOPTS ) $(BUILDDIR ) /json
83- @echo
84- @echo " Build finished; now you can process the JSON files."
85-
86- .PHONY : htmlhelp
87- htmlhelp :
88- $(MAKE ) install-sphinx
89- $(SPHINXBUILD ) --builder htmlhelp $(ALLSPHINXOPTS ) $(BUILDDIR ) /htmlhelp
90- @echo
91- @echo " Build finished; now you can run HTML Help Workshop with the" \
92- " .hhp project file in $( BUILDDIR) /htmlhelp."
93-
94- .PHONY : qthelp
95- qthelp :
96- $(MAKE ) install-sphinx
97- $(SPHINXBUILD ) --builder qthelp $(ALLSPHINXOPTS ) $(BUILDDIR ) /qthelp
98- @echo
99- @echo " Build finished; now you can run " qcollectiongenerator" with the" \
100- " .qhcp project file in $( BUILDDIR) /qthelp, like this:"
101- @echo " # qcollectiongenerator $( BUILDDIR) /qthelp/PillowPILfork.qhcp"
102- @echo " To view the help file:"
103- @echo " # assistant -collectionFile $( BUILDDIR) /qthelp/PillowPILfork.qhc"
104-
105- .PHONY : devhelp
106- devhelp :
107- $(MAKE ) install-sphinx
108- $(SPHINXBUILD ) --builder devhelp $(ALLSPHINXOPTS ) $(BUILDDIR ) /devhelp
109- @echo
110- @echo " Build finished."
111- @echo " To view the help file:"
112- @echo " # mkdir -p $$ HOME/.local/share/devhelp/PillowPILfork"
113- @echo " # ln -s $( BUILDDIR) /devhelp $$ HOME/.local/share/devhelp/PillowPILfork"
114- @echo " # devhelp"
115-
116- .PHONY : epub
117- epub :
118- $(MAKE ) install-sphinx
119- $(SPHINXBUILD ) --builder epub $(ALLSPHINXOPTS ) $(BUILDDIR ) /epub
120- @echo
121- @echo " Build finished. The epub file is in $( BUILDDIR) /epub."
122-
123- .PHONY : latex
124- latex :
125- $(MAKE ) install-sphinx
126- $(SPHINXBUILD ) --builder latex $(ALLSPHINXOPTS ) $(BUILDDIR ) /latex
127- @echo
128- @echo " Build finished; the LaTeX files are in $( BUILDDIR) /latex."
129- @echo " Run \` make' in that directory to run these through (pdf)latex" \
130- " (use \` make latexpdf' here to do that automatically)."
131-
132- .PHONY : latexpdf
133- latexpdf :
134- $(MAKE ) install-sphinx
135- $(SPHINXBUILD ) --builder latex $(ALLSPHINXOPTS ) $(BUILDDIR ) /latex
136- @echo " Running LaTeX files through pdflatex..."
137- $(MAKE ) -C $(BUILDDIR ) /latex all-pdf
138- @echo " pdflatex finished; the PDF files are in $( BUILDDIR) /latex."
139-
140- .PHONY : text
141- text :
142- $(MAKE ) install-sphinx
143- $(SPHINXBUILD ) --builder text $(ALLSPHINXOPTS ) $(BUILDDIR ) /text
144- @echo
145- @echo " Build finished. The text files are in $( BUILDDIR) /text."
146-
147- .PHONY : man
148- man :
149- $(MAKE ) install-sphinx
150- $(SPHINXBUILD ) --builder man $(ALLSPHINXOPTS ) $(BUILDDIR ) /man
151- @echo
152- @echo " Build finished. The manual pages are in $( BUILDDIR) /man."
153-
154- .PHONY : texinfo
155- texinfo :
156- $(MAKE ) install-sphinx
157- $(SPHINXBUILD ) --builder texinfo $(ALLSPHINXOPTS ) $(BUILDDIR ) /texinfo
158- @echo
159- @echo " Build finished. The Texinfo files are in $( BUILDDIR) /texinfo."
160- @echo " Run \` make' in that directory to run these through makeinfo" \
161- " (use \` make info' here to do that automatically)."
162-
163- .PHONY : info
164- info :
165- $(MAKE ) install-sphinx
166- $(SPHINXBUILD ) --builder texinfo $(ALLSPHINXOPTS ) $(BUILDDIR ) /texinfo
167- @echo " Running Texinfo files through makeinfo..."
168- make -C $(BUILDDIR ) /texinfo info
169- @echo " makeinfo finished; the Info files are in $( BUILDDIR) /texinfo."
170-
171- .PHONY : gettext
172- gettext :
173- $(MAKE ) install-sphinx
174- $(SPHINXBUILD ) --builder gettext $(I18NSPHINXOPTS ) $(BUILDDIR ) /locale
175- @echo
176- @echo " Build finished. The message catalogs are in $( BUILDDIR) /locale."
177-
178- .PHONY : changes
179- changes :
180- $(MAKE ) install-sphinx
181- $(SPHINXBUILD ) --builder changes $(ALLSPHINXOPTS ) $(BUILDDIR ) /changes
182- @echo
183- @echo " The overview file is in $( BUILDDIR) /changes."
184-
18557.PHONY : linkcheck
18658linkcheck :
18759 $(MAKE ) install-sphinx
@@ -190,13 +62,6 @@ linkcheck:
19062 @echo " Link check complete; look for any errors in the above output " \
19163 " or in $( BUILDDIR) /linkcheck/output.txt."
19264
193- .PHONY : doctest
194- doctest :
195- $(MAKE ) install-sphinx
196- $(SPHINXBUILD ) --builder doctest $(ALLSPHINXOPTS ) $(BUILDDIR ) /doctest
197- @echo " Testing of doctests in the sources finished, look at the " \
198- " results in $( BUILDDIR) /doctest/output.txt."
199-
20065.PHONY : htmlview
20166htmlview : html
20267 $(PYTHON ) -c " import os, webbrowser; webbrowser.open('file://' + os.path.realpath('$( BUILDDIR) /html/index.html'))"
0 commit comments