|
@@ -11,8 +11,10 @@ BUILDDIR = _build
|
|
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
|
PAPEROPT_letter = -D latex_paper_size=letter
|
|
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
|
+# the i18n builder cannot share the environment and doctrees with the others
|
|
|
+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
|
|
|
|
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
|
|
|
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
|
|
|
|
|
help:
|
|
|
@echo "Please use \`make <target>' where <target> is one of"
|
|
@@ -29,6 +31,7 @@ help:
|
|
|
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
|
@echo " text to make text files"
|
|
|
@echo " man to make manual pages"
|
|
|
+ @echo " gettext to make PO message catalogs"
|
|
|
@echo " changes to make an overview of all changed/added/deprecated items"
|
|
|
@echo " linkcheck to check all external links for integrity"
|
|
|
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
@@ -113,6 +116,11 @@ man:
|
|
|
@echo
|
|
|
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
|
|
|
|
+gettext:
|
|
|
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
|
|
+ @echo
|
|
|
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
|
|
+
|
|
|
changes:
|
|
|
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
|
|
@echo
|