qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] Makefile: Add *.[ch].inc files to cscope/ctags/TAGS


From: Paolo Bonzini
Subject: Re: [PATCH v2] Makefile: Add *.[ch].inc files to cscope/ctags/TAGS
Date: Tue, 13 Oct 2020 12:57:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 13/10/20 11:18, Greg Kurz wrote:
> The code base has some C source and header files that don't get indexed
> because their name ends with .inc:
> 
> $ git ls-files "*.[ch].inc" | wc -l
> 66
> 
> Add them to the list.
> 
> Signed-off-by: Greg Kurz <groug@kaod.org>
> --
> v2: add the missing \( and \)
> ---
>  Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index c37e513431fe..3c5a0b0f7a11 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -190,7 +190,7 @@ distclean: clean ninja-distclean
>       rm -f linux-headers/asm
>       rm -Rf .sdk
>  
> -find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o 
> -name "*.[chsS]"
> +find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o \( 
> -name "*.[chsS]" -o -name "*.[ch].inc" \)
>  
>  .PHONY: ctags
>  ctags:
> 
> 

Cc: qemu-trivial@nongnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]