Messages in this thread | | | Date | Thu, 25 Nov 1999 15:55:51 -0800 | From | Pete Wyckoff <> | Subject | Re: [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/
| |