diff --git a/Makefile b/Makefile index 60083d2..5935ca1 100644 --- a/Makefile +++ b/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" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..58717e8 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +lektor