Nicer error message when sphinx-build is not in PATH

This commit is contained in:
Kovid Goyal
2018-09-06 21:23:03 +05:30
parent ab3b86d65b
commit 732108109e
2 changed files with 8 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS = -T $(FAIL_WARN)
SPHINXBUILD = python3 .. +launch $(shell which sphinx-build)
SPHINXBUILD = python3 .. +launch :sphinx-build
SPHINXPROJ = kitty
SOURCEDIR = .
BUILDDIR = _build