diff options
author | Emanuele Giaquinta <emanuele.giaquinta@gmail.com> | 2005-05-01 11:59:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:15 -0400 |
commit | efcd5e3ab089496865571d22443dd3f514dae60c (patch) | |
tree | 037fbd3c28b2f1e93400842a2c456d15ce431f26 /Makefile | |
parent | 16f31113a614a35acc2da64f4ae39ab0ed7e194f (diff) |
[PATCH] Makefile: fix for compatibility with *emacs ctags
I've noticed that, starting from linux-2.6.12-rc1, in the top Makefile the
"cmd_tags" variable has been changed in a way incompatible with *emacs
ctags. Since the "--extra" option exists only in "exuberant ctags", it
should be included in the CTAGSF shell variable.
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1190,8 +1190,8 @@ cmd_TAGS = $(all-sources) | etags - | |||
1190 | quiet_cmd_tags = MAKE $@ | 1190 | quiet_cmd_tags = MAKE $@ |
1191 | define cmd_tags | 1191 | define cmd_tags |
1192 | rm -f $@; \ | 1192 | rm -f $@; \ |
1193 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL"`; \ | 1193 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \ |
1194 | $(all-sources) | xargs ctags $$CTAGSF -a --extra=+f | 1194 | $(all-sources) | xargs ctags $$CTAGSF -a |
1195 | endef | 1195 | endef |
1196 | 1196 | ||
1197 | TAGS: FORCE | 1197 | TAGS: FORCE |