summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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