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/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
new file mode 100644
index 00000000..95f52120
--- /dev/null
+++ b/www/causal.agency/Makefile
@@ -0,0 +1,20 @@
+WEBROOT = /usr/local/www/causal.agency
+
+FILES = index.html style.css scheme.css scheme.png
+
+all: ${FILES}
+
+index.html: index.7
+	mandoc -T html -O style=style.css index.7 > index.html
+
+scheme.css:
+	scheme -st > scheme.css
+
+scheme.png:
+	scheme -g > scheme.png
+
+install: ${FILES}
+	install -C -m 644 ${FILES} ${WEBROOT}
+
+clean:
+	rm -f index.html scheme.css scheme.png