summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e40bd485b76a4612254ae42304e1a8ff552942ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
HTML := index.html blog.html contact.html new_journal.html
OUT_HTML  := $(addprefix build/, $(HTML))

CSS  := main.css new_journal.css
OUT_CSS   := $(addprefix build/, $(CSS))

PARTIALS := $(addprefix partials/, head.html header.html footer.html)
RESOURCES := $(addprefix build/resources/, glider.png)

site : $(OUT_HTML) $(RESOURCES)

build/%.html: %.html $(PARTIALS) $(OUT_CSS)
	./scripts/awink $< $@

build/%.css: %.css
	./scripts/awink $< $@

build/resources/%: resources/%
	install -D $< $@