[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/12] Makefile: wrap cscope in quiet-command calls
From: |
Alex Bennée |
Subject: |
[PATCH v2 07/12] Makefile: wrap cscope in quiet-command calls |
Date: |
Thu, 14 Jan 2021 16:57:25 +0000 |
For prettier output.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
Makefile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index f7e9eb9f08..2a926aaeb0 100644
--- a/Makefile
+++ b/Makefile
@@ -282,9 +282,17 @@ TAGS:
.PHONY: cscope
cscope:
- rm -f "$(SRC_PATH)"/cscope.*
- $(find-src-path) -print | sed -e 's,^\./,,' > "$(SRC_PATH)/cscope.files"
- cscope -b -i"$(SRC_PATH)/cscope.files" -f"$(SRC_PATH)"/cscope.out
+ $(call quiet-command, \
+ rm -f "$(SRC_PATH)/"cscope.* , \
+ "cscope", "Remove old $@ files")
+ $(call quiet-command, \
+ ($(find-src-path) -print | sed -e 's,^\./,,' \
+ > "$(SRC_PATH)/cscope.files"), \
+ "cscope", "Create file list")
+ $(call quiet-command, \
+ cscope -b -i"$(SRC_PATH)/cscope.files" \
+ -f"$(SRC_PATH)"/cscope.out, \
+ "cscope", "Re-index $(SRC_PATH)")
# Needed by "meson install"
export DESTDIR
--
2.20.1
- Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools, (continued)
Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools, Willian Rampazzo, 2021/01/14
[PATCH v2 04/12] Add newline when generating Dockerfile, Alex Bennée, 2021/01/14
[PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls, Alex Bennée, 2021/01/14
[PATCH v2 07/12] Makefile: wrap cscope in quiet-command calls,
Alex Bennée <=
[PATCH v2 10/12] Fix build with new yank feature by adding stubs, Alex Bennée, 2021/01/14
[PATCH v2 06/12] Makefile: wrap etags in quiet-command calls, Alex Bennée, 2021/01/14
[PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis, Alex Bennée, 2021/01/14