diff options
author | John Kacur <jkacur@redhat.com> | 2021-01-18 22:45:46 -0500 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2021-01-18 22:45:46 -0500 |
commit | be7ea5c55bbf265db53dcf5f51035372a00bd66f (patch) | |
tree | 9b0e29916d62f2a7e31778b362e50639f76c50fd | |
parent | cc2af6e1c990bdc690d4bc6c30d588fd3bb5a5a5 (diff) | |
download | tuna-be7ea5c55bbf265db53dcf5f51035372a00bd66f.tar.gz |
tuna: Add ctags to the tuna makefile
Add ctags to the tuna makefile
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | rpm/SPECS/tuna.spec | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -37,4 +37,12 @@ rpmclean: pyclean: @find . -type f \( -name \*~ -o -name \*.pyc \) -delete +.PHONY: tags +tags: + ctags -R --extra=+fq --python-kinds=+cfmvi + +.PHONY: cleantags +cleantags: + rm -f tags + clean: pyclean rpmclean diff --git a/rpm/SPECS/tuna.spec b/rpm/SPECS/tuna.spec index 46d14fe..72365a2 100644 --- a/rpm/SPECS/tuna.spec +++ b/rpm/SPECS/tuna.spec @@ -1,5 +1,5 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} +%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print(sys.version[:3])")} Name: tuna Version: 0.14.1 |