Skip to content
Snippets Groups Projects
Commit ae116c24 authored by Krzysztof Blazewicz's avatar Krzysztof Blazewicz Committed by Damien George
Browse files

docs/Makefile: define and use PYTHON as the interpreter for CPYDIFF

User can override PYTHON executable before running script,
gen-cpydiff.py works only with Python3 and most systems register
its executable as 'python3'.
parent ad81a2e6
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
#
# You can set these variables from the command line.
PYTHON = python3
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
......@@ -60,7 +61,7 @@ clean:
cpydiff:
@echo "Generating MicroPython Differences."
rm -f $(GENRSTDIR)/*
cd $(CPYDIFFDIR) && python $(CPYDIFF)
cd $(CPYDIFFDIR) && $(PYTHON) $(CPYDIFF)
html: cpydiff
$(SPHINXBUILD) $(FORCE) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment