makefile update
This commit is contained in:
parent
3932f3cb5c
commit
4759060d9f
2 changed files with 7 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -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
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
lektor
|
Loading…
Reference in a new issue