summary refs log tree commit diff
path: root/www/causal.agency/Makefile
blob: 8c74f8f103fd6f59fc2fc1dbd16bd6c55e44de78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WEBROOT = /var/www/causal.agency

GEN = index.html scheme.css scheme.png
FILES = ${GEN} style.css alpha.html lands.html

all: ${FILES}

.SUFFIXES: .7 .html

.7.html:
	mandoc -T html -O style=style.css $< > $@

scheme.css:
	scheme -st > scheme.css

scheme.png:
	scheme -g > scheme.png

install: ${FILES}
	install -C -m 644 ${FILES} ${WEBROOT}

clean:
	rm -f ${GEN}