[kvm-unit-tests PATCH v9 3/9] Makefile: add GNU global tags support
Andrew Jones
drjones at redhat.com
Tue Dec 14 03:36:12 PST 2021
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 at linaro.org>
> Message-Id: <20211118184650.661575-4-alex.bennee at 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
More information about the linux-arm-kernel
mailing list