Skip to content

Commit

Permalink
build:make: added 'default' target; user-mode uninstall/install
Browse files Browse the repository at this point in the history
Signed-off-by: Niclas Hedam <niclas@hed.am>
  • Loading branch information
niclashedam authored and safl committed Mar 10, 2020
1 parent 83a2068 commit 5042ec2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ PROJECT_VERSION=${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERS
NEXT_VERSION_PATCH=$$((${PROJECT_VERSION_PATCH} + 1))
NEXT_VERSION=${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${NEXT_VERSION_PATCH}

.PHONY: install-system
install-system:
pip install .
default: uninstall install

.PHONY: install
install:
Expand All @@ -19,6 +17,10 @@ install:
uninstall:
pip uninstall ${PROJECT_NAME} --yes || echo "Cannot uninstall => That is OK"

.PHONY: install-system
install-system:
pip install .

.PHONY: dev
dev: uninstall install selftest-view
@echo -n "# dev: "; date
Expand Down

0 comments on commit 5042ec2

Please sign in to comment.