From 5be0d7f6ec83dd09837f5da2617178136954c90d Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 20 Jan 2021 03:49:40 +0000 Subject: Use mtags in source-filter --- www/git.causal.agency/source-filter.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'www/git.causal.agency/source-filter.sh') diff --git a/www/git.causal.agency/source-filter.sh b/www/git.causal.agency/source-filter.sh index be04e0c1..87875bd1 100644 --- a/www/git.causal.agency/source-filter.sh +++ b/www/git.causal.agency/source-filter.sh @@ -2,17 +2,21 @@ set -eu ctags=/usr/bin/ctags +mtags=/usr/local/libexec/mtags hilex=/usr/local/libexec/hilex htagml=/usr/local/libexec/htagml case "$1" in - (*.[chlmy]) + (*.[chlmy]|Makefile|*.mk|*.[1-9]) tmp=$(mktemp -d -t source-filter) trap 'rm -fr "${tmp}"' EXIT cd "${tmp}" cat >"$1" touch tags - $ctags -w "$1" + case "$1" in + (*.[chlmy]) $ctags -w "$1";; + (*) $mtags "$1";; + esac $hilex -f html "$1" | $htagml -i "$1" ;; (*) -- cgit 1.4.1 'sub right'>
summary refs log tree commit diff
path: root/format.c (unfollow)
Commit message (Expand)Author
2019-02-22Fix name of <raw> window in man pageJune McEnroe
2019-02-22Rename global tags with angle bracketsJune McEnroe
2019-02-22Show status window while connectingJune McEnroe
2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe
2019-02-21Replace "view" with "window"June McEnroe
2019-02-21Remove ROT13June McEnroe
2019-02-21Clean up man pageJune McEnroe
2019-01-26Draw UI before connectingJune McEnroe
2019-01-25Avoid unused variable warnings with getyxJune McEnroe
2019-01-25Add GNU/Linux build instructionsJune McEnroe