diff --git a/Makefile b/Makefile index 3702b93..87a7318 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ # Stuff for make to work make magic. .DEFAULT: all -.SUFFIXES: .html -.PHONY: all +.PHONY: all clean deploy .EXPORT_ALL_VARIABLES: -BASE_TITLE = Global Initiative +TITLE = Global Initiative | XML Sharing XML_FILE = data/$(shell ls -I activities.xml data/ | sort -r | head -n 1) XML_ARTEFACT = data/activities.xml PAGES = index.html @@ -19,9 +18,9 @@ deploy: $(PAGES) $(BLOBS) ./deploy.sh $^ $(XML_ARTEFACT): - cat "$(XML_FILE)" > $(XML_ARTEFACT) + cp '$(XML_FILE)' '$(XML_ARTEFACT)' index.html: $(XML_ARTEFACT) - TITLE="Global Initiative | XML Sharing" ./index.html.sh > $@ + ./index.html.sh > $@ $(PAGES): index.html.sh assets