diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2020-05-27 01:14:11 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2020-05-27 01:14:11 +0200 |
commit | 959576ad96a5a7a53cb9b9f6c5e5fbb6ecff1bda (patch) | |
tree | d3feefda46d2f3a61a0b3eefd194e2cea72ab5bd /Makefile | |
parent | daf20dd652f9294273c1110f60ff4da6d99f67c5 (diff) |
Remove circular dependency on makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ | |||
1 | all: install build serve | 1 | all: install build serve |
2 | 2 | ||
3 | install: venv | 3 | install: venv |
4 | python3 -m venv ./venv | ||
5 | ./venv/bin/pip install -U "Nikola[extras]" | 4 | ./venv/bin/pip install -U "Nikola[extras]" |
6 | 5 | ||
6 | venv: | ||
7 | python3 -m venv ./venv | ||
8 | |||
7 | build: | 9 | build: |
8 | ./venv/bin/nikola build --backend=sqlite3 | 10 | ./venv/bin/nikola build --backend=sqlite3 |
9 | 11 | ||
10 | serve: | 12 | serve: |
11 | ./venv/bin/nikola auto --backend=sqlite3 | 13 | ./venv/bin/nikola serve |