summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e15010371..0687cfb3f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -49,8 +49,10 @@ clean:
-rm -rf build/* source/reference/generated
version-check:
-ifneq ($(NUMPYVER),$(GITVER))
- @echo installed numpy $(NUMPYVER) != current repo git version $(GITVER)
+ifeq "$(GITVER)" "Unknown"
+ # @echo sdist build with unlabeled sources
+else ifneq ($(NUMPYVER),$(GITVER))
+ @echo installed numpy $(NUMPYVER) != current repo git version \'$(GITVER)\'
@echo set GITVER to $(NUMPYVER) to override
@exit 1
else