summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-15 20:53:51 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-15 20:53:51 +0000
commite0f7b7a830cc7695d3f857938a4423ab63b851c4 (patch)
treec6dea9d38ca7e0cbe1e6f4cdeb52d8bb03448c1f /rbutil
parent5c416ae8557897a72b32707091c6e051ee1a6e23 (diff)
downloadrockbox-e0f7b7a830cc7695d3f857938a4423ab63b851c4.tar.gz
rockbox-e0f7b7a830cc7695d3f857938a4423ab63b851c4.tar.bz2
rockbox-e0f7b7a830cc7695d3f857938a4423ab63b851c4.zip
add "tags" rule to create ctags file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17726 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index ebccc0e2b7..a10d06591e 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -17,6 +17,11 @@ rbspeex.commands = @$(MAKE) -C ../../tools/rbspeex librbspeex.a
QMAKE_EXTRA_TARGETS += rbspeex
PRE_TARGETDEPS += rbspeex
+# rule for creating ctags file
+tags.commands = ctags -R --c++-kinds=+p --fields=+iaS --extra=+q $(SOURCES)
+tags.depends = $(SOURCES)
+QMAKE_EXTRA_TARGETS += tags
+
# add a custom rule for making the translations
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease -silent rbutilqt.pro
QMAKE_EXTRA_TARGETS += lrelease