make install should fail if there's no build dir (#1344)

Currently, if there is no build directory, the `make install` target
will attempt to cd into the build directory, fail, and run pip install
-e . in the root directory anyway. This causes cellxgene to be installed
from the source tree instead of what the user would expect.

This commit changes the behavior such that the `make install` will fail
if there is no build directory.
This commit is contained in:
Matt Weiden
2020-04-03 15:09:54 -07:00
committed by GitHub
parent 7c56041b11
commit 4117050081

View File

@@ -151,7 +151,7 @@ gen-package-lock:
# install from build directory
.PHONY: install
install: uninstall
cd $(BUILDDIR); pip install -e .
cd $(BUILDDIR) && pip install -e .
# install from source tree for development
.PHONY: install-dev