Skip to content

Commit ae116c2

Browse files
blazewiczdpgeorge
authored andcommitted
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'.
1 parent ad81a2e commit ae116c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5+
PYTHON = python3
56
SPHINXOPTS =
67
SPHINXBUILD = sphinx-build
78
PAPER =
@@ -60,7 +61,7 @@ clean:
6061
cpydiff:
6162
@echo "Generating MicroPython Differences."
6263
rm -f $(GENRSTDIR)/*
63-
cd $(CPYDIFFDIR) && python $(CPYDIFF)
64+
cd $(CPYDIFFDIR) && $(PYTHON) $(CPYDIFF)
6465

6566
html: cpydiff
6667
$(SPHINXBUILD) $(FORCE) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy