summary refs log tree commit diff
path: root/www/git.causal.agency/about-filter.sh
blob: d27d2d486b71c019c9137181dec0aaa692565c42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

options=fragment,man=%N.%S,includes=../tree/%I

case "$1" in
	(README.[1-9])
		exec /usr/bin/mandoc -T html -O $options
		;;
	(*.[1-9])
		exec /usr/bin/mandoc -T html -O $options,toc
		;;
	(*)
		exec /usr/local/libexec/hi -l text -f html
		;;
esac
b following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe