Skip to contentSkip to conversation

Makefile: add file entry to ctags

PATCH New Fei Wu 1 participant 1 message May 19, 2023 Kbuild

lore
Share & tools
lore

Fei Wu

author
#0 lore raw

PATCH 1/1 Makefile: add file entry to ctags

It's more convenient to jump among files with --extra=+fq.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index 3c7d67142f..ffb3bcd4f4 100644
@@ -239,8 +239,8 @@ ctags:
 		rm -f "$(SRC_PATH)/"tags, 	\
 		"CTAGS", "Remove old tags")
 	$(call quiet-command, \
-		$(find-src-path) -exec ctags 		\
-		-f "$(SRC_PATH)/"tags --append {} +,	\
+		$(find-src-path) -exec ctags --extra=+fq	\
+		-f "$(SRC_PATH)/"tags --append {} +,		\
 		"CTAGS", "Re-index $(SRC_PATH)")
 
 .PHONY: gtags
Signature · 1 line
2.25.1