summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrigitta Sipőcz <bsipocz@gmail.com>2022-05-21 18:45:43 -0700
committerBrigitta Sipőcz <bsipocz@gmail.com>2022-05-21 18:47:35 -0700
commit07448e46975cda9cbb860ea32de3c92dbe54da88 (patch)
tree81457a5d52961a23d5658a453cd63fc2e7e5a573
parent3018f8b8965624e952a2d9b7bd84d532cc1632b2 (diff)
downloadnumpy-07448e46975cda9cbb860ea32de3c92dbe54da88.tar.gz
DOC: add explanation to makefile error [ci skip]
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 16fc3229d..ad4414d38 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -88,6 +88,7 @@ ifeq "$(GITVER)" "Unknown"
# @echo sdist build with unlabeled sources
else ifeq ("", "$(NUMPYVER)")
@echo numpy not found, cannot build documentation without successful \"import numpy\"
+ @echo Try overriding the makefile PYTHON variable with '"make PYTHON=python $(MAKECMDGOALS)"'
@exit 1
else ifneq ($(NUMPYVER),$(GITVER))
@echo installed numpy $(NUMPYVER) != current repo git version \'$(GITVER)\'
@@ -263,4 +264,3 @@ info:
show:
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/build/html/index.html')"
-