From db56f74e5430ac1f1a1b255db3dc3fe799bffbbb Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 24 Oct 2019 22:58:08 +0100 Subject: minor makefile fixes --- Makefile | 8 +++----- 1 file 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 -- cgit v1.2.3