HTML := index.html
CSS := style.css
WELLKNOWN := $(addprefix .well-known/, keybase.txt)
FILES := $(HTML) $(CSS) robots.txt sitemap.xml sitemap1.xml \
$(WELLKNOWN) glider.png
site: build/.well-known/ $(addprefix build/, $(FILES))
build/%/:
mkdir -P $@
clean:
-rm $(addprefix build/, $(FILES))
build/%.html: src/%.rst
@./scripts/bupa $@
@echo Built $@ from $<
build/%: src/%
@install -Dm644 $< $@
@echo Copied $< → $@
build/.well-known/%: .well-known/%
@install -Dm644 $< $@
@echo Compiled $< → $@
partials/%: