summaryrefslogtreecommitdiffstats
path: root/scripts/tags.sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-20 18:13:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-20 18:13:09 -0700
commitb87a2d3e3147bd140da2eae584772c353d11421b (patch)
treeb07334f4a0b6bef83be8f061e76694c267d5fa34 /scripts/tags.sh
parent53a94c7d55dceb73aab2876afce4c563bc9111fe (diff)
parentab94e4666d5cee0e393367671eeab4111105bffb (diff)
downloadlinux-stable-b87a2d3e3147bd140da2eae584772c353d11421b.tar.gz
linux-stable-b87a2d3e3147bd140da2eae584772c353d11421b.tar.bz2
linux-stable-b87a2d3e3147bd140da2eae584772c353d11421b.zip
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: scripts/extract-ikconfig: add xz compression support kbuild: add GNU GLOBAL tags generation setlocalversion: update mercurial tag parsing
Diffstat (limited to 'scripts/tags.sh')
-rwxr-xr-xscripts/tags.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 92fdc4546141..bd6185d529cf 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -114,6 +114,11 @@ docscope()
cscope -b -f cscope.out
}
+dogtags()
+{
+ all_sources | gtags -f -
+}
+
exuberant()
{
all_sources | xargs $1 -a \
@@ -187,6 +192,10 @@ case "$1" in
docscope
;;
+ "gtags")
+ dogtags
+ ;;
+
"tags")
rm -f tags
xtags ctags