From d9ae9febd9668f89c8694b66d7a0323027d416b2 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 14 Oct 2014 01:22:31 +0200 Subject: redo website using bupa, ReST, and jinja templates --- Makefile | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d64c7e7..9deb502 100644 --- a/Makefile +++ b/Makefile @@ -12,24 +12,36 @@ site: $(addprefix build/, $(FILES)) clean: -rm $(addprefix build/, $(FILES)) +build/index.html: src/index.rst + @./scripts/bupa index.html + @echo Built index.html + +build/about.html: src/about.rst + @./scripts/bupa about.html + @echo Built about.html + +build/journal.html: $(shell find src/journal) + @./scripts/bupa journal.html + @echo Built journal + build/%.html: src/%.html $(PARTIALS) @./scripts/awink $< $@ @echo Compiled $< → $@ build/%.css: src/%.css @install -Dm644 $< $@ - @echo Compiled $< → $@ + @echo Copied $< → $@ -build/resources/%: resources/% +build/resources/%: src/resources/% @install -Dm644 $< $@ - @echo Compiled $< → $@ + @echo Copied $< → $@ build/sitemap.xml: src/sitemap.xml @install -Dm644 $< $@ - @echo Compiled $< → $@ + @echo Copied $< → $@ build/pgp-key.txt: src/pgp-key.txt @install -Dm644 $< $@ - @echo Compiled $< → $@ + @echo Copied $< → $@ partials/%: -- cgit v1.2.3-54-g00ecf