summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-20 18:22:07 -0500
committerJune McEnroe <june@causal.agency>2021-01-20 18:22:07 -0500
commit8f13185e5376c2b7414115bb67dca3a76dc7dec1 (patch)
tree699318e0732ad38d34de7cdcc8a13fc82a69b3a5 /bin/Makefile
parentAdd messy sh lexer (diff)
downloadsrc-8f13185e5376c2b7414115bb67dca3a76dc7dec1.tar.gz
src-8f13185e5376c2b7414115bb67dca3a76dc7dec1.zip
Generate tags for sh files in mtags
Only matches functions declared at the beginnings of lines, but I'm
fine with that.
Diffstat (limited to '')
-rw-r--r--bin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 7e6b0b7d..7fc0ad0c 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -134,10 +134,10 @@ html: ${HTMLS}
 
 ${HTMLS}: html.sh scheme hilex htagml htmltags
 
-htmltags: *.[chly] mtags Makefile
+htmltags: *.[chly] mtags Makefile *.sh
 	rm -f $@
 	for f in *.[chly]; do ctags -aw -f $@ $$f; done
-	./mtags -a -f $@ Makefile
+	./mtags -a -f $@ Makefile *.sh
 
 .SUFFIXES: .html