qemu-arm
[Top][All Lists]
Advanced

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

Re: [kvm-unit-tests PATCH v9 3/9] Makefile: add GNU global tags support


From: Andrew Jones
Subject: Re: [kvm-unit-tests PATCH v9 3/9] Makefile: add GNU global tags support
Date: Tue, 14 Dec 2021 12:36:12 +0100

On Thu, Dec 02, 2021 at 11:53:46AM +0000, Alex Bennée wrote:
> If you have ctags you might as well offer gtags as a target.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20211118184650.661575-4-alex.bennee@linaro.org>
> ---
>  Makefile | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index b80c31f8..0b7c03ac 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -122,6 +122,9 @@ cscope:
>               -name '*.[chsS]' -exec realpath --relative-base=$(CURDIR) {} \; 
> | sort -u > ./cscope.files
>       cscope -bk
>  
> -.PHONY: tags
> +.PHONY: tags gtags
>  tags:
>       ctags -R
> +
> +gtags:
> +     gtags
> -- 
> 2.30.2
>

We should also add gtags' generated files to .gitignore

Thanks,
drew 




reply via email to

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