diff mbox series

[PULL,06/30] Makefile: wrap etags in quiet-command calls

Message ID 20210115130828.23968-7-alex.bennee@linaro.org
State Accepted
Commit af5d5762f347eb6efe590dc1f8eb59c3f29af9d1
Headers show
Series testing, gdbstub and semihosting | expand

Commit Message

Alex Bennée Jan. 15, 2021, 1:08 p.m. UTC
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>

-- 
2.20.1
diff mbox series

Patch

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: