diff mbox series

[PULL,2/8] Makefile: Add *.[ch].inc files to cscope/ctags/TAGS

Message ID 20201027163014.247336-3-laurent@vivier.eu (mailing list archive)
State New, archived
Headers show
Series [PULL,1/8] elf2dmp: Fix memory leak on main() error paths | expand

Commit Message

Laurent Vivier Oct. 27, 2020, 4:30 p.m. UTC
From: Greg Kurz <groug@kaod.org>

The code base has some C source and header files that don't get indexed
because their name ends with .inc:

$ git ls-files "*.[ch].inc" | wc -l
66

Add them to the list.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160258069310.900922.1495166540282536628.stgit@bahia.lan>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 18f026eac3d7..5a7ba39ea75f 100644
--- a/Makefile
+++ b/Makefile
@@ -219,7 +219,7 @@  distclean: clean
 	rm -f linux-headers/asm
 	rm -Rf .sdk
 
-find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o -name "*.[chsS]"
+find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o \( -name "*.[chsS]" -o -name "*.[ch].inc" \)
 
 .PHONY: ctags
 ctags: