diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2020-05-27 01:27:02 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2020-05-27 01:27:02 +0200 |
commit | 6c61efddf9080194115106d6eaec7e57df66e1a2 (patch) | |
tree | 81bcafc85b9e46e74bf9ccc5f6a7081cf879c6bc | |
parent | 959576ad96a5a7a53cb9b9f6c5e5fbb6ecff1bda (diff) |
fix dependencies
-rw-r--r-- | Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,13 +1,15 @@ | |||
1 | all: install build serve | 1 | all: serve |
2 | 2 | ||
3 | install: venv | 3 | serve: build |
4 | ./venv/bin/pip install -U "Nikola[extras]" | 4 | ./venv/bin/nikola serve |
5 | |||
6 | venv: | ||
7 | python3 -m venv ./venv | ||
8 | 5 | ||
9 | build: | 6 | build: venv/bin/nikola |
10 | ./venv/bin/nikola build --backend=sqlite3 | 7 | ./venv/bin/nikola build --backend=sqlite3 |
11 | 8 | ||
12 | serve: | 9 | venv/bin/nikola: venv/bin/python3 |
13 | ./venv/bin/nikola serve | 10 | ./venv/bin/pip install -U wheel "Nikola[extras]" |
11 | |||
12 | venv/bin/python3: | ||
13 | python3 -m venv ./venv | ||
14 | ./venv/bin/pip install --upgrade pip | ||
15 | |||