diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-18 14:14:30 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-18 14:14:30 +0200 |
commit | b944832d593683e54c216d23bb493b302b521e29 (patch) | |
tree | 6c4376d642e8245a6a41e44d4a8e090a481185bb /Makefile | |
parent | 80e38791f41cf326e43946e306157daa7d7e08e1 (diff) | |
download | theos-website-b944832d593683e54c216d23bb493b302b521e29.tar.xz |
convert root page to reST like ~kyrias/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -1,27 +1,25 @@ HTML := index.html CSS := style.css - -PARTIALS := $(addprefix partials/, meta.html nav.html footer.html) WELLKNOWN := $(addprefix .well-known/, keybase.txt) -FILES := $(HTML) $(CSS) robots.txt sitemap.xml sitemap1.xml +FILES := $(HTML) $(CSS) robots.txt sitemap.xml sitemap1.xml \ + $(WELLKNOWN) + +site: build/.well-known/ $(addprefix build/, $(FILES)) -site: $(addprefix build/, $(FILES) $(WELLKNOWN)) +build/%/: + mkdir -P $@ clean: -rm $(addprefix build/, $(FILES)) -build/%.html: src/%.html $(PARTIALS) - @./scripts/awink $< $@ - @echo Compiled $< → $@ - -build/%.css: src/%.css - @install -Dm644 $< $@ - @echo Compiled $< → $@ +build/%.html: src/%.rst + @./scripts/bupa $@ + @echo Built $@ from $< build/%: src/% @install -Dm644 $< $@ - @echo Compiled $< → $@ + @echo Copied $< → $@ build/.well-known/%: .well-known/% @install -Dm644 $< $@ |