Skip to content

Commit 50b3465

Browse files
committed
default to sphinx3-build
1 parent f9fdebe commit 50b3465

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PATH := /usr/share/sphinx/scripts/python3:${PATH}
1111

1212
PACKAGE = trio_gpio
1313
PYTHON ?= python3
14+
SPHINX ?= sphinx3-build
1415
export PYTHONPATH=$(shell pwd)
1516

1617
PYTEST ?= ${PYTHON} $(shell which pytest-3)
@@ -33,7 +34,7 @@ SPHINXBUILDDIR ?= $(BUILD_DIR)/sphinx/html
3334
ALLSPHINXOPTS ?= -d $(BUILD_DIR)/sphinx/doctrees $(SPHINXOPTS) docs
3435

3536
doc:
36-
sphinx3-build -a $(INPUT_DIR) $(BUILD_DIR)
37+
$(SPHINX) -a $(INPUT_DIR) $(BUILD_DIR)
3738

3839
livehtml: docs
3940
sphinx-autobuild $(AUTOSPHINXOPTS) $(ALLSPHINXOPTS) $(SPHINXBUILDDIR)

0 commit comments

Comments
 (0)