summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-05-21 00:35:48 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-05-21 01:19:52 +0900
commit53c875223b19d15bd23be5b9851b7afabdc67cf4 (patch)
tree6fc3338e855137e99e82587161f33f2d52e4ff78 /sphinx/quickstart.py
parent613c10c5029b228e4445eaf201f96c0c31ca4cc8 (diff)
downloadsphinx-git-53c875223b19d15bd23be5b9851b7afabdc67cf4.tar.gz
Fix #2512: generated Makefile causes BSD make crashed if sphinx-build not found
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index 9511eda11..1f14c0d09 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -534,16 +534,6 @@ SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = %(rbuilddir)s
-# User-friendly check for sphinx-build
-ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
-\t$(error \
-The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx \
-installed, then set the SPHINXBUILD environment variable to point \
-to the full path of the '$(SPHINXBUILD)' executable. Alternatively you \
-can add the directory with the executable to your PATH. \
-If you don\\'t have Sphinx installed, grab it from http://sphinx-doc.org/)
-endif
-
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
@@ -1061,16 +1051,6 @@ SPHINXPROJ = %(project_fn)s
SOURCEDIR = %(rsrcdir)s
BUILDDIR = %(rbuilddir)s
-# User-friendly check for sphinx-build.
-ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
-$(error \
-The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx \
-installed, then set the SPHINXBUILD environment variable to point \
-to the full path of the '$(SPHINXBUILD)' executable. Alternatively you \
-can add the directory with the executable to your PATH. \
-If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
-endif
-
# Has to be explicit, otherwise we don't get "make" without targets right.
help:
\t@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)