[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cscope redundant chars
From: |
Toe Dev |
Subject: |
cscope redundant chars |
Date: |
Tue, 14 Apr 2020 17:35:50 +0300 |
add cscope phony(ctags have one) and remove redundancy
diff --git a/Makefile b/Makefile
index 84ef881600..9cf62532f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1005,16 +1005,18 @@ ctags:
rm -f tags
find "$(SRC_PATH)" -name '*.[hc]' -exec ctags --append {} +
+.PHONY: cscope
+
+cscope:
+ rm -f cscope.*
+ find $(SRC_PATH) -name "*.[chsS]" -print | sed 's,^\./,,' >
"$(SRC_PATH)/cscope.files"
+ cscope -b -q -k cscope.files
+
.PHONY: TAGS
TAGS:
rm -f TAGS
find "$(SRC_PATH)" -name '*.[hc]' -exec etags --append {} +
-cscope:
- rm -f "$(SRC_PATH)"/cscope.*
- find "$(SRC_PATH)/" -name "*.[chsS]" -print | sed 's,^\./,,' >
"$(SRC_PATH)/cscope.files"
- cscope -b -i"$(SRC_PATH)/cscope.files"
-
- cscope redundant chars,
Toe Dev <=