qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 07/30] Makefile: wrap cscope in quiet-command calls


From: Alex Bennée
Subject: [PULL 07/30] Makefile: wrap cscope in quiet-command calls
Date: Fri, 15 Jan 2021 13:08:05 +0000

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-8-alex.bennee@linaro.org>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]