lkml.org 
[lkml]   [1999]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] TAGS target for Makefile
capricel@yalbi.com said:
> +tags: dummy
> + ctags `find include/asm-$(ARCH) -name '*.h'`
> + for d in `ls include/. | egrep -v '^(asm|config)'`; do find include/$$d -name '*.h' | xargs ctags -a; done
> + find $(SUBDIRS) init -name '*.c' | grep -v ksyms.c | xargs ctags -a

You also want to ignore some symbols so you don't get a few hundred
bogus tags for __initdata, and to ignore the EXPORT_SYMBOL() usages:

ctags -I __initdata,__initlocaldata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS

And with the fix from Andreas you won't need the -a argument either.

-- Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.445 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site