summary refs log tree commit diff
path: root/www/causal.agency/Makefile
blob: d43c96388f7254b6ef401e38dd58b0c4dade47bf (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 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}