summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index db0853c..e893cab 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,13 @@ RESOURCES := glider.png
FILES := $(HTML) $(CSS) sitemap.xml pgp-key.txt \
$(addprefix resources/, $(RESOURCES))
-site: $(addprefix build/, $(FILES))
+site: build/journal/ build/resources/ $(addprefix build/, $(FILES))
+
+build/%/:
+ mkdir $@
clean:
- -rm $(addprefix build/, $(FILES))
+ -rm -r $(addprefix build/, $(FILES)) build/journal build/resources
build/index.html: src/index.rst
@./scripts/bupa index.html
@@ -27,7 +30,7 @@ build/%.css: src/%.css
@echo Copied $< → $@
build/resources/%: src/resources/%
- @install -Dm644 $< $@
+ @install -m644 $< $@
@echo Copied $< → $@
build/sitemap.xml: src/sitemap.xml