summary refs log tree commit diff
path: root/www/causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/causal.agency/Makefile')
-rw-r--r--www/causal.agency/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
new file mode 100644
index 00000000..8c74f8f1
--- /dev/null
+++ b/www/causal.agency/Makefile
@@ -0,0 +1,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}