summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2020-05-27 01:27:02 +0200
committerDirk Engling <erdgeist@erdgeist.org>2020-05-27 01:27:02 +0200
commit6c61efddf9080194115106d6eaec7e57df66e1a2 (patch)
tree81bcafc85b9e46e74bf9ccc5f6a7081cf879c6bc
parent959576ad96a5a7a53cb9b9f6c5e5fbb6ecff1bda (diff)
fix dependencies
-rw-r--r--Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index be32edaa..67139269 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,15 @@
1all: install build serve 1all: serve
2 2
3install: venv 3serve: build
4 ./venv/bin/pip install -U "Nikola[extras]" 4 ./venv/bin/nikola serve
5
6venv:
7 python3 -m venv ./venv
8 5
9build: 6build: venv/bin/nikola
10 ./venv/bin/nikola build --backend=sqlite3 7 ./venv/bin/nikola build --backend=sqlite3
11 8
12serve: 9venv/bin/nikola: venv/bin/python3
13 ./venv/bin/nikola serve 10 ./venv/bin/pip install -U wheel "Nikola[extras]"
11
12venv/bin/python3:
13 python3 -m venv ./venv
14 ./venv/bin/pip install --upgrade pip
15