SCSI target infrastructure discussions
 help / color / mirror / Atom feed
From: Hitoshi Mitake <mitake.hitoshi@gmail.com>
To: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Cc: stgt@vger.kernel.org, mitake.hitoshi@gmail.com
Subject: Re: [PATCH] trivial: support cscope in Makefile and gitignore
Date: Sun, 24 Nov 2013 23:23:02 +0900	[thread overview]
Message-ID: <87zjotyj3t.wl%mitake.hitoshi@gmail.com> (raw)
In-Reply-To: <1383013732-9345-1-git-send-email-mitake.hitoshi@lab.ntt.co.jp>

At Tue, 29 Oct 2013 11:28:52 +0900,
Hitoshi Mitake wrote:
> 
> After applying this patch, "make cscope" can generate cscope files for
> tag jump. The generated files are ignored by the .gitignore file.
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
> ---
>  .gitignore |    3 ++-
>  Makefile   |    5 +++++
>  2 files changed, 7 insertions(+), 1 deletion(-)

ping? This is a trivial one, but would be useful for tgt developers.

Thanks,
Hitoshi

> 
> diff --git a/.gitignore b/.gitignore
> index ca1c5d3..8c28cb7 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -31,4 +31,5 @@ usr/tgtd
>  usr/tgtadm
>  usr/tgtimg
>  
> -
> +# cscope files
> +cscope.*
> diff --git a/Makefile b/Makefile
> index b71ad7b..ad1f12f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -93,3 +93,8 @@ check32:
>  check64: override ARCH=-m64
>  check64:
>  	CC=$(CHECK_CC_FLAGS) $(MAKE) all
> +
> +cscope:
> +	find -name '*.[ch]' > cscope.files
> +	cscope -bq
> +
> -- 
> 1.7.10.4
> 

  reply	other threads:[~2013-11-24 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  2:28 [PATCH] trivial: support cscope in Makefile and gitignore Hitoshi Mitake
2013-11-24 14:23 ` Hitoshi Mitake [this message]
2013-11-24 19:29   ` FUJITA Tomonori
2013-12-08  8:03     ` Hitoshi Mitake

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=87zjotyj3t.wl%mitake.hitoshi@gmail.com \
    --to=mitake.hitoshi@gmail.com \
    --cc=mitake.hitoshi@lab.ntt.co.jp \
    --cc=stgt@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