qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Makefile: Minor cscope fixups
@ 2011-07-20  3:41 Alexandre Raymond
  2011-07-20 16:56 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Raymond @ 2011-07-20  3:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Alexandre Raymond

-Create cscope symbols for assembly files in addition to .c/.h files.
-Create cscope database with full path instead of relative path so cscope
 can be used with CSCOPE_DB in any directory.

Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b3ffbe2..4273b6f 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,7 @@ TAGS:
 
 cscope:
 	rm -f ./cscope.*
-	find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
+	find $$PWD -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files
 	cscope -b
 
 # documentation
-- 
1.7.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] Makefile: Minor cscope fixups
  2011-07-20  3:41 [Qemu-devel] [PATCH] Makefile: Minor cscope fixups Alexandre Raymond
@ 2011-07-20 16:56 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2011-07-20 16:56 UTC (permalink / raw)
  To: Alexandre Raymond; +Cc: qemu-trivial, qemu-devel

On Wed, Jul 20, 2011 at 6:41 AM, Alexandre Raymond <cerbere@gmail.com> wrote:
> -Create cscope symbols for assembly files in addition to .c/.h files.
> -Create cscope database with full path instead of relative path so cscope
>  can be used with CSCOPE_DB in any directory.
>
> Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index b3ffbe2..4273b6f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -254,7 +254,7 @@ TAGS:
>
>  cscope:
>        rm -f ./cscope.*
> -       find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
> +       find $$PWD -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files

Please use $$SRC_PATH instead.

>        cscope -b
>
>  # documentation
> --
> 1.7.5
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20  3:41 [Qemu-devel] [PATCH] Makefile: Minor cscope fixups Alexandre Raymond
2011-07-20 16:56 ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).