If you have ctags you might as well offer gtags as a target. Signed-off-by: Alex Bennée <alex.bennee@xxxxxxxxxx> Message-Id: <20211118184650.661575-4-alex.bennee@xxxxxxxxxx> --- v10 - update .gitignore --- Makefile | 5 ++++- .gitignore | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ed5deac..f22179de 100644 --- a/Makefile +++ b/Makefile @@ -145,6 +145,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 diff --git a/.gitignore b/.gitignore index 33529b65..4d5f460f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,9 @@ tags patches .stgit-* cscope.* +GPATH +GRTAGS +GTAGS *.swp /lib/asm /lib/config.h -- 2.39.2