Fix #2408: dummy builder not available in Makefile and make.bat

This commit is contained in:
shimizukawa 2016-04-02 22:27:41 +09:00
parent 0c33d7df78
commit 5e0b542e62
2 changed files with 17 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Bugs fixed
* C++, type declarations are now using the prefixes ``typedef``, ``using``, and ``type``,
depending on the style of declaration.
* #2394: Fix Sphinx crashes when html_last_updated_fmt is invalid
* #2408: dummy builder not available in Makefile and make.bat
Release 1.4 (released Mar 28, 2016)

View File

@ -520,6 +520,7 @@ help:
\t@echo " doctest to run all doctests embedded in the documentation \
(if enabled)"
\t@echo " coverage to run coverage check of the documentation (if enabled)"
\t@echo " dummy to check syntax errors of document sources"
.PHONY: clean
clean:
@ -695,6 +696,12 @@ pseudoxml:
\t$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
\t@echo
\t@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
.PHONY: dummy
dummy:
\t$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
\t@echo
\t@echo "Build finished. Dummy builder generates no files."
'''
BATCHFILE = u'''\
@ -739,6 +746,7 @@ if "%%1" == "help" (
\techo. linkcheck to check all external links for integrity
\techo. doctest to run all doctests embedded in the documentation if enabled
\techo. coverage to run coverage check of the documentation if enabled
\techo. dummy to check syntax errors of document sources
\tgoto end
)
@ -969,6 +977,14 @@ if "%%1" == "pseudoxml" (
\tgoto end
)
if "%%1" == "dummy" (
\t%%SPHINXBUILD%% -b dummy %%ALLSPHINXOPTS%% %%BUILDDIR%%/dummy
\tif errorlevel 1 exit /b 1
\techo.
\techo.Build finished. Dummy builder generates no files.
\tgoto end
)
:end
'''