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 f -exec chmod 0644 {} \;
|
||||||
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
||||||
|
|
||||||
build:
|
build: venv
|
||||||
lektor build -O $(BUILDDIR)
|
. ./venv/bin/activate && lektor build -O $(BUILDDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILDDIR)
|
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