summary refs log tree commit diff
path: root/www/causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-07-26 10:25:54 -0400
committerJune McEnroe <june@causal.agency>2023-07-26 10:25:54 -0400
commitb6d104887096b7f18fb4c429111e1d3c37d9cc53 (patch)
tree6ed55980c3d95ae0f79d49b23398c9461f60adc4 /www/causal.agency/Makefile
parentReplace monday with tuesday (diff)
downloadsrc-b6d104887096b7f18fb4c429111e1d3c37d9cc53.tar.gz
src-b6d104887096b7f18fb4c429111e1d3c37d9cc53.zip
Add first draft of a MTG game format
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}