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 <[email protected]>
> Message-Id: <[email protected]>
> ---
>  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 

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to