Skip to content

Commit c549d84

Browse files
authored
Merge pull request numpy#21565 from bsipocz/doc_makefile
DOC: add explanation to makefile error
2 parents 3018f8b + 07448e4 commit c549d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ ifeq "$(GITVER)" "Unknown"
8888
# @echo sdist build with unlabeled sources
8989
else ifeq ("", "$(NUMPYVER)")
9090
@echo numpy not found, cannot build documentation without successful \"import numpy\"
91+
@echo Try overriding the makefile PYTHON variable with '"make PYTHON=python $(MAKECMDGOALS)"'
9192
@exit 1
9293
else ifneq ($(NUMPYVER),$(GITVER))
9394
@echo installed numpy $(NUMPYVER) != current repo git version \'$(GITVER)\'
@@ -263,4 +264,3 @@ info:
263264

264265
show:
265266
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/build/html/index.html')"
266-

0 commit comments

Comments
 (0)