Modify cscope/ctags rule to include directories such as check/
libbtrfsutil/kernel-lib/kernel-shared.

Signed-off-by: Lu Fengqi <lufq.f...@cn.fujitsu.com>
---
 Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 6065522a615f..8afc8f6ed6a3 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
-- 
2.16.2



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to