##// END OF EJS Templates
Fix for docs/Makefile hard-codes usage of "python" #8857
test112233 -
Show More
@@ -7,6 +7,7 b' SPHINXBUILD = sphinx-build'
7 7 PAPER =
8 8 SRCDIR = source
9 9 BUILDDIR = build
10 PYTHON = python
10 11
11 12 # Internal variables.
12 13 PAPEROPT_a4 = -D latex_paper_size=a4
@@ -71,19 +72,19 b' html html_noapi:'
71 72 automagic: source/interactive/magics-generated.txt
72 73
73 74 source/interactive/magics-generated.txt: autogen_magics.py
74 python autogen_magics.py
75 $(PYTHON) autogen_magics.py
75 76 @echo "Created docs for line & cell magics"
76 77
77 78 autoconfig: source/config/options/generated
78 79
79 80 source/config/options/generated:
80 python autogen_config.py
81 $(PYTHON) autogen_config.py
81 82 @echo "Created docs for config options"
82 83
83 84 api: source/api/generated/gen.txt
84 85
85 86 source/api/generated/gen.txt:
86 python autogen_api.py
87 $(PYTHON) autogen_api.py
87 88 @echo "Build API docs finished."
88 89
89 90 pickle:
@@ -141,7 +142,7 b' gh-pages: clean html'
141 142 # if VERSION is unspecified, it will be dev
142 143 # For releases, VERSION should be just the major version,
143 144 # e.g. VERSION=2 make gh-pages
144 python gh-pages.py $(VERSION)
145 $(PYTHON) gh-pages.py $(VERSION)
145 146
146 147 texinfo:
147 148 mkdir -p $(BUILDDIR)/texinfo
General Comments 0
You need to be logged in to leave comments. Login now