@@ -7,6 +7,7 @@ SPHINXBUILD = sphinx-build
77PAPER =
88SRCDIR = source
99BUILDDIR = build
10+ PYTHON = python
1011
1112# Internal variables.
1213PAPEROPT_a4 = -D latex_paper_size=a4
@@ -71,19 +72,19 @@ html html_noapi:
7172automagic : source/interactive/magics-generated.txt
7273
7374source/interactive/magics-generated.txt : autogen_magics.py
74- python autogen_magics.py
75+ $( PYTHON ) autogen_magics.py
7576 @echo " Created docs for line & cell magics"
7677
7778autoconfig : source/config/options/generated
7879
7980source/config/options/generated :
80- python autogen_config.py
81+ $( PYTHON ) autogen_config.py
8182 @echo " Created docs for config options"
8283
8384api : source/api/generated/gen.txt
8485
8586source/api/generated/gen.txt :
86- python autogen_api.py
87+ $( PYTHON ) autogen_api.py
8788 @echo " Build API docs finished."
8889
8990pickle :
@@ -141,7 +142,7 @@ gh-pages: clean html
141142 # if VERSION is unspecified, it will be dev
142143 # For releases, VERSION should be just the major version,
143144 # e.g. VERSION=2 make gh-pages
144- python gh-pages.py $(VERSION )
145+ $( PYTHON ) gh-pages.py $(VERSION )
145146
146147texinfo :
147148 mkdir -p $(BUILDDIR ) /texinfo
0 commit comments