blob: 6036671326663360032adb91d3c0cebd62c00348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
HTML := index.html google2e5cf65604df9442.html
CSS := style.css
WELLKNOWN := $(addprefix .well-known/, keybase.txt)
FONTS := $(addprefix fonts/, ptsans.ttf ptsans-bold.ttf ptsans-italic.ttf DejaVuSansMono.woff)
FONTS += $(addprefix fonts/, OpenSans-Regular.ttf OpenSans-Italic.ttf OpenSans-Bold.ttf)
FILES := $(HTML) $(CSS) robots.txt sitemap.xml sitemap1.xml \
$(WELLKNOWN) $(FONTS) 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/%:
|