aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2020-08-25 18:05:15 -0400
committerJohn Kacur <jkacur@redhat.com>2020-08-27 15:50:45 -0400
commitebfe72cc910fc0ff3f952f7a065a54519b798b79 (patch)
tree7285952e32b16e17ea13e6f8e4bee9dccaf3a3e7
parent67207836286624b9c42f537fc7b735591d9d30f1 (diff)
downloadrteval-ebfe72cc910fc0ff3f952f7a065a54519b798b79.tar.gz
rteval: Makefile: Add the ability to generate ctags
Add the options make tags make cleantags The first one generates ctags for python and the second removes them. Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b11ecec..d942858 100644
--- a/Makefile
+++ b/Makefile
@@ -125,4 +125,14 @@ help:
@echo " install: install rteval locally"
@echo " clean: cleanup generated files"
@echo " sysreport: do a short testrun and generate sysreport data"
+ @echo " tags: generate a ctags file"
+ @echo " cleantags: remove the ctags file"
@echo ""
+
+.PHONY: tags
+tags:
+ ctags -R --extra=+fq --python-kinds=+cfmvi rteval-cmd rteval
+
+.PHONY: cleantags
+cleantags:
+ rm -f tags