diff mbox series

[v2,05/12] Makefile: wrap ctags in quiet-command calls

Message ID 20210114165730.31607-6-alex.bennee@linaro.org (mailing list archive)
State New, archived
Headers show
Series testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) | expand

Commit Message

Alex Bennée Jan. 14, 2021, 4:57 p.m. UTC
For prettier output.

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

Comments

Philippe Mathieu-Daudé Jan. 14, 2021, 6:07 p.m. UTC | #1
On 1/14/21 5:57 PM, Alex Bennée wrote:
> For prettier output.

Having commit description following patch subject is not very
practical (maybe this is obvious in an emacs client, not in
mine :S).

Anyhow:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
Willian Rampazzo Jan. 14, 2021, 7:46 p.m. UTC | #2
On Thu, Jan 14, 2021 at 2:21 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> For prettier output.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>
diff mbox series

Patch

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: