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/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
new file mode 100644
index 00000000..fdb1748e
--- /dev/null
+++ b/www/causal.agency/Makefile
@@ -0,0 +1,31 @@
+WEBROOT = /usr/local/www/causal.agency
+
+FILES = index.html scheme.png
+
+all: ${FILES}
+
+install: ${FILES}
+	install -C -m 644 ${FILES} ${WEBROOT}
+
+INCLUDES = scheme.css torus.html play.html catgirl.html scheme.html
+
+index.html: index.html.in index.sed ${INCLUDES}
+	sed -f index.sed index.html.in > index.html
+
+FLAGS.torus.pty = -n -h 25
+FLAGS.scheme.pty = -n -h 10
+FLAGS.play.pty = -h 16
+
+.SUFFIXES: .html .pty
+
+.pty.html:
+	shotty ${FLAGS.$<} $< > $@
+
+scheme.css:
+	scheme -s > scheme.css
+
+scheme.png:
+	scheme -g > scheme.png
+
+clean:
+	rm -f ${FILES} ${INCLUDES}
/tr> 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe