# Stuff for make to work make magic. .DEFAULT: all .SUFFIXES: .part .html .PHONY: all .EXPORT_ALL_VARIABLES: BASE_TITLE = Recycled Cloud PAGES = index.html services.html manifesto.html contact.html BLOBS = assets/ all: $(PAGES) clean: rm -rf $(PAGES) deploy: $(PAGES) $(BLOBS) ./deploy.sh $^ .part.html: ./page-template.sh $+ > $@ $(PAGES): page-template.sh assets index.html: TITLE = "$(BASE_TITLE) | Home" services.html: TITLE = "$(BASE_TITLE) | Services" manifesto.html: TITLE = "$(BASE_TITLE) | Manifesto" contact.html: TITLE = "$(BASE_TITLE) | Contact"