Changed docs Makefile to use local sphinx-build when present

This commit is contained in:
Hernan Grecco 2013-07-05 00:18:02 -03:00
parent d0ea0fc9ac
commit 62be0bd292
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
ifeq ($(wildcard sphinx-build), )
SPHINXBUILD = sphinx-build
else
SPHINXBUILD = ./sphinx-build
endif
PAPER =
BUILDDIR = _build