summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 527d218887f89974c5d65b2c497c88feb2e62a24 (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) $(OUT_CSS) $(RESOURCES)

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

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

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