mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Makefile: fix for compatibility with *emacs ctags
@ 2005-04-24 18:00 Emanuele Giaquinta
  0 siblings, 0 replies; only message in thread
From: Emanuele Giaquinta @ 2005-04-24 18:00 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-24 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-24 18:00 [PATCH] Makefile: fix for compatibility with *emacs ctags Emanuele Giaquinta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®