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 $< $@