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 <lufq.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d04d25fb14
commit
3fd6a955f9
8
Makefile
8
Makefile
|
@ -585,11 +585,15 @@ manpages:
|
||||||
|
|
||||||
tags: FORCE
|
tags: FORCE
|
||||||
@echo " [TAGS] $(TAGS_CMD)"
|
@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
|
cscope: FORCE
|
||||||
@echo " [CSCOPE] $(CSCOPE_CMD)"
|
@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)
|
$(Q)$(CSCOPE_CMD)
|
||||||
|
|
||||||
clean-all: clean clean-doc clean-gen
|
clean-all: clean clean-doc clean-gen
|
||||||
|
|
Loading…
Reference in New Issue