[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 7/9] Makefile: wrap cscope in quiet-command calls
From: |
Alex Bennée |
Subject: |
[PATCH v1 7/9] Makefile: wrap cscope in quiet-command calls |
Date: |
Wed, 13 Jan 2021 15:14:06 +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
- [PATCH v1 0/9] testing/next (tags!, more travis/shippable deprecation), Alex Bennée, 2021/01/13
- [PATCH v1 1/9] tests/docker: Remove Debian 9 remnant lines, Alex Bennée, 2021/01/13
- [PATCH v1 2/9] Makefile: add GNU global tags support, Alex Bennée, 2021/01/13
- [PATCH v1 3/9] shippable.yml: Remove jobs duplicated on Gitlab-CI, Alex Bennée, 2021/01/13
- [PATCH v1 4/9] Add newline when generating Dockerfile, Alex Bennée, 2021/01/13
- [PATCH v1 6/9] Makefile: wrap etags in quiet-command calls, Alex Bennée, 2021/01/13
- [PATCH v1 5/9] Makefile: wrap ctags in quiet-command calls, Alex Bennée, 2021/01/13
- [PATCH v1 7/9] Makefile: wrap cscope in quiet-command calls,
Alex Bennée <=
- [PATCH v1 8/9] docker: expand debian-amd64 image to include tag tools, Alex Bennée, 2021/01/13
- [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Alex Bennée, 2021/01/13
- Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Thomas Huth, 2021/01/13
- Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Daniel P . Berrangé, 2021/01/13
- Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Alex Bennée, 2021/01/13
- Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Daniel P . Berrangé, 2021/01/13
- Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Peter Maydell, 2021/01/13
Re: [PATCH v1 9/9] gitlab: move docs and tools build across from Travis, Wainer dos Santos Moschetta, 2021/01/13