HTML := journal.html about.html
CSS := style.css
RESOURCES := glider.png
PARTIALS := $(addprefix partials/, meta.html nav.html footer.html)
FILES := $(HTML) $(CSS) pgp-key.txt \
$(addprefix resources/, $(RESOURCES))
site: $(addprefix build/, $(FILES))
clean:
rm -rf build/*
build/%.html: src/%.html $(PARTIALS)
@./scripts/awink $< $@
@echo Compiled $< → $@
build/%.css: src/%.css
@install -Dm644 $< $@
@echo Compiled $< → $@
build/resources/%: resources/%
@install -Dm644 $< $@
@echo Compiled $< → $@
build/pgp-key.txt: src/pgp-key.txt
@install -Dm644 $< $@
@echo Compiled $< → $@
partials/%: