OSDN Git Service

Makefile: Add *.[ch].inc files to cscope/ctags/TAGS
authorGreg Kurz <groug@kaod.org>
Tue, 13 Oct 2020 09:18:13 +0000 (11:18 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Oct 2020 15:48:49 +0000 (16:48 +0100)
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

index 18f026e..5a7ba39 100644 (file)
--- 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: