-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
30 lines (22 loc) · 896 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.PHONY: all
all: index.html lite.html lite_status.html cookie_notice.html privacy_policy.html
venv: requirements-dev.txt Makefile
rm -rf venv
virtualenv venv
venv/bin/pip install -r requirements-dev.txt
index.html: content/index.md venv bin/make-page tmpl/index.html.tmpl
venv/bin/python bin/make-page tmpl/index.html.tmpl $<
lite.html: content/lite.md venv bin/make-page tmpl/lite.html.tmpl
venv/bin/python bin/make-page tmpl/lite.html.tmpl $<
lite_status.html: content/lite_status.md venv bin/make-page tmpl/lite_status.html.tmpl
venv/bin/python bin/make-page tmpl/lite_status.html.tmpl $<
%.html: content/%.md venv bin/make-page tmpl/other.html.tmpl
venv/bin/python bin/make-page tmpl/other.html.tmpl $<
.PHONY: push
push: venv
venv/bin/markdown-to-presentation push \
.nojekyll README.md CNAME *.html favicon.ico img
.PHONY: clean
clean:
rm -rf venv index.html
.SECONDARY: