Makefile: wrap etags in quiet-command calls
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-7-alex.bennee@linaro.org>
diff --git a/Makefile b/Makefile
index bbab640..f7e9eb9 100644
--- a/Makefile
+++ b/Makefile
@@ -272,8 +272,13 @@
.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: