mirror of https://github.com/kivy/kivy.git
Use python3 if it's present.
This commit is contained in:
parent
f031f2a679
commit
9ac3c9a70b
10
doc/Makefile
10
doc/Makefile
|
@ -4,7 +4,15 @@
|
||||||
ENDUSER_BUILD = yes
|
ENDUSER_BUILD = yes
|
||||||
|
|
||||||
# You can set these variables from the command line.
|
# You can set these variables from the command line.
|
||||||
PYTHON = python
|
PYTHON = python3
|
||||||
|
ifeq (, $(shell which $(PYTHON) 2> /dev/null ))
|
||||||
|
PYTHON := python
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (, $(shell which $(PYTHON) 2> /dev/null))
|
||||||
|
$(error "PYTHON=$(PYTHON) not found in $(PATH)")
|
||||||
|
endif
|
||||||
|
|
||||||
SPHINXOPTS = -Q
|
SPHINXOPTS = -Q
|
||||||
SPHINXOPTS_TEST = -W -T
|
SPHINXOPTS_TEST = -W -T
|
||||||
SPHINXBUILD = sphinx-build
|
SPHINXBUILD = sphinx-build
|
||||||
|
|
Loading…
Reference in New Issue