summary refs log tree commit diff
path: root/www/causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/causal.agency/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
index d406eb23..a31e4ff6 100644
--- a/www/causal.agency/Makefile
+++ b/www/causal.agency/Makefile
@@ -1,11 +1,14 @@
 WEBROOT = /var/www/causal.agency
 
-FILES = index.html style.css scheme.css scheme.png alpha.html
+GEN = index.html leveler.html scheme.css scheme.png
+FILES = ${GEN} style.css alpha.html
 
 all: ${FILES}
 
-index.html: index.7
-	mandoc -T html -O style=style.css index.7 > index.html
+.SUFFIXES: .7 .html
+
+.7.html:
+	mandoc -T html -O style=style.css $< > $@
 
 scheme.css:
 	scheme -st > scheme.css
@@ -17,4 +20,4 @@ install: ${FILES}
 	install -C -m 644 ${FILES} ${WEBROOT}
 
 clean:
-	rm -f index.html scheme.css scheme.png
+	rm -f ${GEN}