qemu-devel
[Top][All Lists]
Advanced

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

[PATCH v2 06/12] Makefile: wrap etags in quiet-command calls


From: Alex Bennée
Subject: [PATCH v2 06/12] Makefile: wrap etags in quiet-command calls
Date: Thu, 14 Jan 2021 16:57:24 +0000

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index bbab640b31..f7e9eb9f08 100644
--- a/Makefile
+++ b/Makefile
@@ -272,8 +272,13 @@ gtags:
 
 .PHONY: TAGS
 TAGS:
-       rm -f "$(SRC_PATH)/"TAGS
-       $(find-src-path) -exec etags -f "$(SRC_PATH)/"TAGS --append {} +
+       $(call quiet-command,                   \
+               rm -f "$(SRC_PATH)/"TAGS,       \
+               "TAGS", "Remove old $@")
+       $(call quiet-command,                           \
+               $(find-src-path) -exec etags            \
+               -f "$(SRC_PATH)/"TAGS --append {} +,    \
+               "TAGS", "Re-index $(SRC_PATH)")
 
 .PHONY: cscope
 cscope:
-- 
2.20.1




reply via email to

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