Clean up main Makefile (#1376)

* Remove unnecessary make target alias

* Remove installing from build directory

* Update documentation
This commit is contained in:
Matt Weiden
2020-04-09 17:35:49 -07:00
committed by GitHub
parent 0398249a20
commit 14021db239
3 changed files with 6 additions and 19 deletions
+2 -13
View File
@@ -22,16 +22,12 @@ clean-%:
# BUILDING PACKAGE
.PHONY: build
build: clean build-cli
@echo "done"
.PHONY: build-client
build-client:
cd client && $(MAKE) ci build
.PHONY: build-cli
build-cli: build-client
.PHONY: build
build: clean build-client
git ls-files server/ | grep -v 'server/test/' | cpio -pdm $(BUILDDIR)
cp -r client/build/ $(CLIENTBUILD)
$(call copy_client_assets,$(CLIENTBUILD),$(SERVERBUILD))
@@ -150,13 +146,6 @@ gen-package-lock:
# INSTALL
# setup.py sucks when you have your library in a separate folder, adding these in to help setup envs
# install from build directory
.PHONY: install
install: uninstall
cd $(BUILDDIR) && pip install -e .
# install from source tree for development
.PHONY: install-dev
install-dev: uninstall