]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile: add QUIET_GEN to "cscope" target
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 29 Jun 2021 11:12:56 +0000 (13:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jun 2021 20:04:00 +0000 (13:04 -0700)
Don't show the very verbose $(FIND_SOURCE_FILES) command on every
"make cscope" invocation.

See my recent 3c80fcb591 (Makefile: add QUIET_GEN to "tags" and "TAGS"
targets, 2021-03-28) for the same fix for the other adjacent targets.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 4dd9711a653cda70b4906d34bdeb7c9f746939ed..faa89000973f4e7c2ab7bac7b29884efb83172ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2739,7 +2739,7 @@ tags: FORCE
 
 .PHONY: cscope
 cscope:
-       $(RM) cscope*
+       $(QUIET_GEN)$(RM) cscope* && \
        $(FIND_SOURCE_FILES) | xargs cscope -b
 
 ### Detect prefix changes