aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32dcfcf..ce05eba 100644
--- a/Makefile
+++ b/Makefile
@@ -218,6 +218,12 @@ kup: dist
$(KUPDIR)/dtc-$(dtc_version).tar.gz
endif
+tags: FORCE
+ rm -f tags
+ find . \( -name tests -type d -prune \) -o \
+ \( ! -name '*.tab.[ch]' ! -name '*.lex.c' \
+ -name '*.[chly]' -type f -print \) | xargs ctags -a
+
#
# Testsuite rules
#