diff options
| author | mattip <matti.picus@gmail.com> | 2019-04-15 16:26:24 +0300 |
|---|---|---|
| committer | mattip <matti.picus@gmail.com> | 2019-04-15 16:26:24 +0300 |
| commit | be8ef7d3278fe890fd0da69efd4dd4783f82a2ef (patch) | |
| tree | ecc545e1cc02e767f2164fb4da5308190709758a /doc/Makefile | |
| parent | 01fb828e848af97f2c7896db28f7e185c2b4bd0e (diff) | |
| download | numpy-be8ef7d3278fe890fd0da69efd4dd4783f82a2ef.tar.gz | |
BUILD: allow version-check to pass if GITVER is Unknown (sdist build)
Diffstat (limited to 'doc/Makefile')
| -rw-r--r-- | doc/Makefile | 6 |
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 |
