aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-10-27 20:59:17 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-10-27 20:59:17 +0100
commit282de79f44e95b539c1788de8a71177b5a023557 (patch)
tree6a6a26e210dc32d4d6a5ed4d8bc0b581af9bbc0e /Makefile
parent[WIP] Provider for Taylor and Francis Online (diff)
parentBump version and update changelog (diff)
downloadpaper2remarkable-282de79f44e95b539c1788de8a71177b5a023557.tar.gz
paper2remarkable-282de79f44e95b539c1788de8a71177b5a023557.zip
Merge branch 'master' into feature/tandfonline
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index eb3ce93..bcbc420 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ PACKAGE=paper2remarkable
DOC_DIR='./docs/'
VENV_DIR=/tmp/p2r_venv/
-.PHONY: help cover dist venv
+.PHONY: help dist venv
.DEFAULT_GOAL := help
@@ -48,15 +48,15 @@ doc: install ## Build documentation with Sphinx
cd $(DOC_DIR) && \
rm source/* && \
source $(VENV_DIR)/bin/activate && \
- sphinx-apidoc -H 'CleverCSV API Documentation' -o source ../$(PACKAGE) && \
+ sphinx-apidoc -H 'Paper2Remarkable API Documentation' -o source ../$(PACKAGE) && \
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 -e .[dev] && pip install six
+ test -d $(VENV_DIR) || python -m venv $(VENV_DIR)
+ source $(VENV_DIR)/bin/activate && pip install -e .[dev]
touch $(VENV_DIR)/bin/activate
clean_venv: