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
commit57e1744deee8ca461551a67edbdd5cdafa7b83ba (patch)
tree909419a57e37de486780ca7e7eea0b4d30054b2a /bin/Makefile
parentMap tags to IDs using only [[:alnum:]-._] (diff)
downloadsrc-57e1744deee8ca461551a67edbdd5cdafa7b83ba.tar.gz
src-57e1744deee8ca461551a67edbdd5cdafa7b83ba.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