Add the ability to use ctags to the Makefile. This adds the commands
make tags make cleantags
and modifies make clean
to call cleantags
Signed-off-by: John Kacur jkacur@redhat.com --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index ebca02d47f95..b29f968b726f 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,12 @@ rpmclean: pyclean: @find . -type f ( -name *~ -o -name *.pyc ) -delete
-clean: pyclean rpmclean +.PHONY: tags +tags: + ctags -R --extra=+fq --python-kinds=+cfmvi + +.PHONY: cleantags +cleantags: + rm -f tags + +clean: pyclean rpmclean cleantags