25 lines
707 B
Makefile
25 lines
707 B
Makefile
|
# Stuff for make to work make magic.
|
||
|
.DEFAULT: all
|
||
|
.SUFFIXES: .part .html
|
||
|
.PHONY: all clean deploy
|
||
|
.EXPORT_ALL_VARIABLES:
|
||
|
|
||
|
BASE_TITLE = Recycled Cloud
|
||
|
PAGES = index.html backup.html virtual-machine.html become-client.html privacy-policy.html manifesto.html
|
||
|
|
||
|
all: $(PAGES)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(PAGES)
|
||
|
|
||
|
.part.html:
|
||
|
./page-template.sh $+ > $@
|
||
|
|
||
|
$(PAGES): page-template.sh
|
||
|
index.html: TITLE = "$(BASE_TITLE) | Home"
|
||
|
backup.html: TITLE = "$(BASE_TITLE) | Backups"
|
||
|
manifesto.html: TITLE = "$(BASE_TITLE) | Manifesto"
|
||
|
virtual-machine.html: TITLE = "$(BASE_TITLE) | Virtual machines"
|
||
|
become-client.html: TITLE = "$(BASE_TITLE) | Become client"
|
||
|
privacy-policy.html: TITLE = "$(BASE_TITLE) | Privacy Policy"
|