makefile update

This commit is contained in:
Nico Schottelius 2021-11-22 15:35:30 +01:00
parent 3932f3cb5c
commit 4759060d9f
2 changed files with 7 additions and 2 deletions

View file

@ -16,8 +16,12 @@ permissions: build
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
build:
lektor build -O $(BUILDDIR)
build: venv
. ./venv/bin/activate && lektor build -O $(BUILDDIR)
clean:
rm -rf $(BUILDDIR)
venv: requirements.txt
python3 -m venv venv
sh -c ". ./venv/bin/activate && pip install -r requirements.txt"

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
lektor