summary refs log tree commit diff
path: root/www/git.causal.agency/about-filter.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-01 23:29:16 +0000
committerJune McEnroe <june@causal.agency>2021-10-02 00:18:59 +0000
commit6d93d68d7d8264d91842c98267bd96fa1cd06ba2 (patch)
tree6c537e8b8e84999edfbe3b053157cfc6c9585247 /www/git.causal.agency/about-filter.sh
parentAdd htagml -m to rename main tag (diff)
downloadsrc-6d93d68d7d8264d91842c98267bd96fa1cd06ba2.tar.gz
src-6d93d68d7d8264d91842c98267bd96fa1cd06ba2.zip
Replace filter shell scripts with C program
Eliminates the need for a shell inside the chroot, along with cat,
mktemp and rm. It's likely a bit faster too.
Diffstat (limited to 'www/git.causal.agency/about-filter.sh')
-rw-r--r--www/git.causal.agency/about-filter.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/www/git.causal.agency/about-filter.sh b/www/git.causal.agency/about-filter.sh
deleted file mode 100644
index 7a93d471..00000000
--- a/www/git.causal.agency/about-filter.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-set -eu
-
-options=fragment,man=%N.%S,includes=../tree/%I
-
-case "$1" in
-	(README.[1-9])
-		exec mandoc -T html -O $options
-		;;
-	(*.[1-9])
-		exec mandoc -T html -O $options,toc
-		;;
-	(*)
-		exec hilex -l text -f html -o pre
-		;;
-esac