summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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/%: