HTML := index.html
CSS := style.css
PARTIALS := $(addprefix partials/, meta.html nav.html footer.html)
FILES := $(HTML) $(CSS) sitemap.xml
site: $(addprefix build/, $(FILES))
clean:
-rm $(addprefix build/, $(FILES))
build/%.html: src/%.html $(PARTIALS)
@./scripts/awink $< $@
@echo Compiled $< → $@
build/%.css: src/%.css
@install -Dm644 $< $@
@echo Compiled $< → $@
build/sitemap.xml: src/sitemap.xml
@install -Dm644 $< $@
@echo Compiled $< → $@
partials/%: