summary refs log tree commit diff
path: root/www/causal.agency/Makefile
blob: 407a85d887f1919a6474800427840fd8886be91a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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

.SUFFIXES: .html .pty

.pty.html:
	shotty ${FLAGS_$<} $< > $@

scheme.css: scheme.sed
	scheme -s | sed -f scheme.sed > scheme.css

scheme.png:
	scheme -g > scheme.png

clean:
	rm -f *.html scheme.css scheme.png
2-20Source .editrc before applying -v or -eJune McEnroe Otherwise a bind -v in .editrc will take precedence and overwrite the ^I binding for sh-complete. 2019-12-20Disable signing commitsJune McEnroe Why did I ever turn this on? This gets me nothing but inconvenience. RIP to all the wasted bytes in my git repos. 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe