summary refs log tree commit diff
path: root/www/causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-12 00:34:08 -0500
committerJune McEnroe <june@causal.agency>2021-01-12 00:34:08 -0500
commitd7b884d86e85f085d344aa9484276e98b2de1de1 (patch)
treed05af123b70b11e3cc25346a034b1362e6446996 /www/causal.agency/Makefile
parentPublish "Using vi" (diff)
downloadsrc-d7b884d86e85f085d344aa9484276e98b2de1de1.tar.gz
src-d7b884d86e85f085d344aa9484276e98b2de1de1.zip
Replace causal.agency with a simple mdoc page
Diffstat (limited to '')
-rw-r--r--www/causal.agency/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
index fdb1748e..82400b55 100644
--- a/www/causal.agency/Makefile
+++ b/www/causal.agency/Makefile
@@ -1,25 +1,11 @@
 WEBROOT = /usr/local/www/causal.agency
 
-FILES = index.html scheme.png
+FILES = index.html style.css scheme.css 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.$<} $< > $@
+index.html: index.7
+	mandoc -T html -O style=style.css index.7 > index.html
 
 scheme.css:
 	scheme -s > scheme.css
@@ -27,5 +13,8 @@ scheme.css:
 scheme.png:
 	scheme -g > scheme.png
 
+install: ${FILES}
+	install -C -m 644 ${FILES} ${WEBROOT}
+
 clean:
-	rm -f ${FILES} ${INCLUDES}
+	rm -f index.html scheme.css scheme.png
span title='2019-05-12 12:18:31 -0400'>2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe