Skip to contentSkip to conversation

add '--extra=+f' to ctags in Makefile in order to search for file names

PATCH New John Kacur 1 participant 1 message Jan 12, 2005 Kbuild

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 add '--extra=+f' to ctags in Makefile in order to search for file names

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.

Makefile 2005-01-11 22:56:07.308105800 -0500 renamed from Makefile.orig 2005-01-11 22:45:30.971843616 -0500 +0 -0
@@ -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