]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile + shared.mak: rename and indent $(QUIET_SPATCH_T)
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 1 Nov 2022 22:35:43 +0000 (23:35 +0100)
committerTaylor Blau <me@ttaylorr.com>
Thu, 3 Nov 2022 01:22:15 +0000 (21:22 -0400)
In f7ff6597a75 (cocci: add a "coccicheck-test" target and test *.cocci
rules, 2022-07-05) we abbreviated "_TEST" to "_T" to have it align
with the rest of the "="'s above it.

Subsequent commits will add more QUIET_SPATCH_* variables, so let's
stop abbreviating this, and indent it in preparation for adding more
of these variables.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Makefile
shared.mak

index eac30126e29fe6f462b2c84006c9cd9730b1eee3..e5fcf9684908b55b466bbaa3972eafcad6185c5f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3167,7 +3167,7 @@ $(COCCI_TEST_RES_GEN): .build/%.res : %.c
 $(COCCI_TEST_RES_GEN): .build/%.res : %.res
 $(COCCI_TEST_RES_GEN): .build/contrib/coccinelle/tests/%.res : contrib/coccinelle/%.cocci
        $(call mkdir_p_parent_template)
-       $(QUIET_SPATCH_T)$(SPATCH) $(SPATCH_FLAGS) \
+       $(QUIET_SPATCH_TEST)$(SPATCH) $(SPATCH_FLAGS) \
                --very-quiet --no-show-diff \
                --sp-file $< -o $@ \
                $(@:.build/%.res=%.c) && \
index 33f43edbf9a6b2e156f15628869c1d6c1755cd6f..96b06acc455d3611cfd114c83482b3f7a22aef11 100644 (file)
@@ -69,8 +69,10 @@ ifndef V
        QUIET_SP       = @echo '   ' SP $<;
        QUIET_HDR      = @echo '   ' HDR $(<:hcc=h);
        QUIET_RC       = @echo '   ' RC $@;
-       QUIET_SPATCH   = @echo '   ' SPATCH $<;
-       QUIET_SPATCH_T = @echo '   ' SPATCH TEST $(@:.build/%=%);
+
+## Used in "Makefile": SPATCH
+       QUIET_SPATCH                    = @echo '   ' SPATCH $<;
+       QUIET_SPATCH_TEST               = @echo '   ' SPATCH TEST $(@:.build/%=%);
 
 ## Used in "Documentation/Makefile"
        QUIET_ASCIIDOC  = @echo '   ' ASCIIDOC $@;