From 3fd6a955f91cfd0fabdab8ab441938879f7d692d Mon Sep 17 00:00:00 2001 From: Lu Fengqi Date: Wed, 28 Mar 2018 14:07:38 +0800 Subject: [PATCH] btrfs-progs: build: modify cscope/ctags rules to include directories such as check Modify cscope/ctags rule to include directories such as check/ libbtrfsutil/kernel-lib/kernel-shared. Signed-off-by: Lu Fengqi Signed-off-by: David Sterba --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6065522a..8afc8f6e 100644 --- a/Makefile +++ b/Makefile @@ -585,11 +585,15 @@ manpages: tags: FORCE @echo " [TAGS] $(TAGS_CMD)" - $(Q)$(TAGS_CMD) *.[ch] image/*.[ch] convert/*.[ch] mkfs/*.[ch] + $(Q)$(TAGS_CMD) *.[ch] image/*.[ch] convert/*.[ch] mkfs/*.[ch] \ + check/*.[ch] kernel-lib/*.[ch] kernel-shared/*.[ch] \ + libbtrfsutil/*.[ch] cscope: FORCE @echo " [CSCOPE] $(CSCOPE_CMD)" - $(Q)ls -1 *.[ch] image/*.[ch] convert/*.[ch] mkfs/*.[ch] > cscope.files + $(Q)ls -1 *.[ch] image/*.[ch] convert/*.[ch] mkfs/*.[ch] check/*.[ch] \ + kernel-lib/*.[ch] kernel-shared/*.[ch] libbtrfsutil/*.[ch] \ + > cscope.files $(Q)$(CSCOPE_CMD) clean-all: clean clean-doc clean-gen