diff options
Diffstat (limited to 'poky/documentation/Makefile.sphinx')
-rw-r--r-- | poky/documentation/Makefile.sphinx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/poky/documentation/Makefile.sphinx b/poky/documentation/Makefile.sphinx index c663c29540..c9518558bb 100644 --- a/poky/documentation/Makefile.sphinx +++ b/poky/documentation/Makefile.sphinx @@ -9,6 +9,10 @@ SOURCEDIR = . BUILDDIR = _build DESTDIR = final +ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0) +$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed") +endif + # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |