mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Makefile: fix for compatibility with *emacs ctags
Date: Sun, 24 Apr 2005 20:00:22 +0200	[thread overview]
Message-ID: <200504242000.22740.emanuele.giaquinta@gmail.com> (raw)

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



                 reply	other threads:[~2005-04-24 18:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504242000.22740.emanuele.giaquinta@gmail.com \
    --to=emanuele.giaquinta@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®