diff options
author | John Kacur <jkacur@redhat.com> | 2021-11-23 13:03:44 -0500 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2021-11-24 12:46:51 -0500 |
commit | 1b81ccb79e2e6cfde8bbe5bb7d32d021eedda29d (patch) | |
tree | febdc717c9db3f750fe0d21778fb7e7a3477574c | |
parent | 79cd0d3cf76c6b48ab253affaa2748c909a84540 (diff) | |
download | python-linux-procfs-1b81ccb79e2e6cfde8bbe5bb7d32d021eedda29d.tar.gz |
python-linux-procfs: Makefile: Add ctags
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>
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |