summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-14 01:22:31 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-14 01:27:05 +0200
commitd9ae9febd9668f89c8694b66d7a0323027d416b2 (patch)
tree20d40d7b9e939c90eb7cd8b09fb7f076722c3443 /Makefile
parentfd1c56a9763ab2da0edcfdfbafc51db369c3950f (diff)
downloadwebsite-d9ae9febd9668f89c8694b66d7a0323027d416b2.tar.xz
redo website using bupa, ReST, and jinja templates
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 17 insertions, 5 deletions
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/%: