diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |