diff mbox series

Makefile: add file entry to ctags

Message ID 20230519032716.1477615-1-fei2.wu@intel.com (mailing list archive)
State New, archived
Headers show
Series Makefile: add file entry to ctags | expand

Commit Message

Wu, Fei May 19, 2023, 3:27 a.m. UTC
It's more convenient to jump among files with --extra=+fq.

Signed-off-by: Fei Wu <fei2.wu@intel.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 3c7d67142f..ffb3bcd4f4 100644
--- a/Makefile
+++ b/Makefile
@@ -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