[PATCH]add '--extra=+f' to ctags in Makefile in order to searchfor file names

From: John Kacur
Date: Tue Jan 11 2005 - 23:44:07 EST


I usually add the following to ctags in the Makefile so I can search for
file names in my editor. If you think others would find this useful too,
then please apply.

--- linux-2.6.10/Makefile.orig 2005-01-11 22:45:30.971843616 -0500
+++ linux-2.6.10/Makefile 2005-01-11 22:56:07.308105800 -0500
@@ -1167,7 +1167,7 @@
define cmd_tags
rm -f $@; \
CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo
"-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \
- $(all-sources) | xargs ctags $$CTAGSF -a
+ $(all-sources) | xargs ctags $$CTAGSF -a --extra=+f
endef

TAGS: FORCE



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