summary refs log tree commit diff
path: root/www/causal.agency/Makefile
blob: a31e4ff66e149aa9eb02e5b1372b6c498576534c (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 leveler.html scheme.css scheme.png
FILES = ${GEN} style.css alpha.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}