aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-01-14 16:57:23 +0000
committerAlex Bennée <alex.bennee@linaro.org>2021-01-18 10:04:31 +0000
commitf2c78150c36605cda3bf53ff54871758a57c3708 (patch)
tree0f43617e33bd83d389016a706daa0f80e80c8633
parente405a3ebf58eb76e0b091ca990cd01ba22882613 (diff)
Makefile: wrap ctags 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-6-alex.bennee@linaro.org>
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0c509a7704..bbab640b31 100644
--- a/Makefile
+++ b/Makefile
@@ -250,8 +250,13 @@ find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o \( -name
.PHONY: ctags
ctags:
- rm -f "$(SRC_PATH)/"tags
- $(find-src-path) -exec ctags -f "$(SRC_PATH)/"tags --append {} +
+ $(call quiet-command, \
+ rm -f "$(SRC_PATH)/"tags, \
+ "CTAGS", "Remove old tags")
+ $(call quiet-command, \
+ $(find-src-path) -exec ctags \
+ -f "$(SRC_PATH)/"tags --append {} +, \
+ "CTAGS", "Re-index $(SRC_PATH)")
.PHONY: gtags
gtags: