make docs: ensure py2 when running sphinx

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2019-08-19 19:33:34 +02:00
parent 4464195326
commit 3d918ff7fe
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ HTML_TARGETS = $(patsubst %.rst,%.html,$(SOURCES))
RM = rm
RST2HTML=`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
RST2MAN=`type rst2man >/dev/null 2>&1 && echo rst2man || echo rst2man.py`
SPHINXBUILD = sphinx-build
SPHINXBUILD = python2 -msphinx
docs: man api