summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-19 22:40:14 -0500
committerJune McEnroe <june@causal.agency>2021-01-19 22:40:14 -0500
commit7e46e2e83472d2a22fcc3793aadb647d26defe92 (patch)
tree178997ff1a2aa3d23e52e2ec7854be91b61389b7 /bin/Makefile
parentMap tags to IDs using only [[:alnum:]-._] (diff)
downloadsrc-7e46e2e83472d2a22fcc3793aadb647d26defe92.tar.gz
src-7e46e2e83472d2a22fcc3793aadb647d26defe92.zip
Add mtags to generate tags for make and mdoc
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 13dfb2f2..b133232f 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -29,6 +29,7 @@ BINS += hilex
 BINS += hnel
 BINS += htagml
 BINS += modem
+BINS += mtags
 BINS += nudge
 BINS += order
 BINS += pbd
@@ -132,9 +133,10 @@ html: ${HTMLS}
 
 ${HTMLS}: html.sh scheme hilex htagml htmltags
 
-htmltags: *.[chly]
+htmltags: *.[chly] mtags Makefile
 	rm -f $@
 	for f in *.[chly]; do ctags -aw -f $@ $$f; done
+	./mtags -a -f $@ Makefile
 
 .SUFFIXES: .html