trivial: support cscope in Makefile and gitignore
PATCH v2 1/1 trivial: support cscope in Makefile and gitignore
From: Hitoshi Mitake <[email protected]>
After applying this patch, "make cscope" can generate cscope files for tag jump. The generated files are ignored by the .gitignore file.
Signed-off-by Hitoshi Mitake <[email protected]>
--- .gitignore | 3 ++- Makefile | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)
v2: fix a style warning
.gitignore +2 -1
@@ -31,4 +31,5 @@ usr/tgtd usr/tgtadm usr/tgtimg - +# cscope files +cscope.*
Makefile +4 -0
@@ -93,3 +93,7 @@ check32: check64: override ARCH=-m64 check64: CC=$(CHECK_CC_FLAGS) $(MAKE) all + +cscope: + find -name '*.[ch]' > cscope.files + cscope -bq
Signature · 1 line
1.8.1.2
FUJITA Tomonori
AppliedQuoted 10 lines · On Sun, 8 Dec 2013 17:07:18 +0900 Hitoshi Mitake <[email protected]>…
From: Hitoshi Mitake <[email protected]>
After applying this patch, "make cscope" can generate cscope files for tag jump. The generated files are ignored by the .gitignore file.
Signed-off-by Hitoshi Mitake <[email protected]>--- .gitignore | 3 ++- Makefile | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)
Applied.