aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-10-24 22:58:08 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-10-24 22:58:08 +0100
commitdb56f74e5430ac1f1a1b255db3dc3fe799bffbbb (patch)
tree8054dc624ab6818ba509910584856310ac462be4 /Makefile
parentfix dependencies (diff)
downloadpaper2remarkable-db56f74e5430ac1f1a1b255db3dc3fe799bffbbb.tar.gz
paper2remarkable-db56f74e5430ac1f1a1b255db3dc3fe799bffbbb.zip
minor makefile fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ed2d040..baccb92 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
PACKAGE=paper2remarkable
DOC_DIR='./docs/'
-VENV_DIR='/tmp/p2r_venv/'
+VENV_DIR=/tmp/p2r_venv/
.PHONY: help cover dist
@@ -26,7 +26,7 @@ install: ## Install for the current user using the default python command
test: venv ## Run unit tests
- source $(VENV_DIR)/bin/activate && green -v ./tests/test_unit
+ source $(VENV_DIR)/bin/activate && green -v ./tests
clean: ## Clean build dist and egg directories left after install
@@ -52,11 +52,9 @@ doc: install ## Build documentation with Sphinx
touch source/AUTOGENERATED
$(MAKE) -C $(DOC_DIR) html
-
-
venv: $(VENV_DIR)/bin/activate
$(VENV_DIR)/bin/activate:
test -d $(VENV_DIR) || virtualenv $(VENV_DIR)
- source $(VENV_DIR)/bin/activate && pip install -q -e .[dev]
+ source $(VENV_DIR)/bin/activate && pip install -e .[dev]
touch $(VENV_DIR)/bin/activate