diff options
author | Jianbin Kang <kjbmail@gmail.com> | 2011-01-14 20:07:05 +0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-01-15 00:48:16 +0100 |
commit | f4ed1009fcea8502d1191ef3e435e9d83c286b80 (patch) | |
tree | 072b7f35d76880978b842b12eae1b9b7d4984a6a /scripts | |
parent | 38b3439d84f4a310bd29e3dbc21dffe9119ef157 (diff) | |
download | linux-3.10-f4ed1009fcea8502d1191ef3e435e9d83c286b80.tar.gz linux-3.10-f4ed1009fcea8502d1191ef3e435e9d83c286b80.tar.bz2 linux-3.10-f4ed1009fcea8502d1191ef3e435e9d83c286b80.zip |
kbuild: add GNU GLOBAL tags generation
GNU GLOBAL (http://www.gnu.org/software/global/) is a source code tagging system
It is really cheap to support it in kbuild system.
Signed-off-by: Jianbin Kang <kjbmail@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index e091db312dd..5d17c71a816 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 \ @@ -185,6 +190,10 @@ case "$1" in docscope ;; + "gtags") + dogtags + ;; + "tags") rm -f tags xtags ctags |