[PATCH] Makefile: fix for compatibility with *emacs ctags

From: Emanuele Giaquinta
Date: Sun Apr 24 2005 - 13:02:11 EST


Hi,

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.

--- linux-2.6.12-rc3/Makefile 2005-04-24 19:53:29.000000000 +0200
+++ linux/Makefile 2005-04-24 19:53:42.000000000 +0200
@@ -1188,8 +1188,8 @@
quiet_cmd_tags = MAKE $@
define cmd_tags
rm -f $@; \
- CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL"`; \
- $(all-sources) | xargs ctags $$CTAGSF -a --extra=+f
+ CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+ $(all-sources) | xargs ctags $$CTAGSF -a
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/