Skip to content

Commit c4864e3

Browse files
avarttaylorr
authored andcommitted
Makefile + shared.mak: rename and indent $(QUIET_SPATCH_T)
In f7ff659 (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 <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent d42b38d commit c4864e3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3167,7 +3167,7 @@ $(COCCI_TEST_RES_GEN): .build/%.res : %.c
31673167
$(COCCI_TEST_RES_GEN): .build/%.res : %.res
31683168
$(COCCI_TEST_RES_GEN): .build/contrib/coccinelle/tests/%.res : contrib/coccinelle/%.cocci
31693169
$(call mkdir_p_parent_template)
3170-
$(QUIET_SPATCH_T)$(SPATCH) $(SPATCH_FLAGS) \
3170+
$(QUIET_SPATCH_TEST)$(SPATCH) $(SPATCH_FLAGS) \
31713171
--very-quiet --no-show-diff \
31723172
--sp-file $< -o $@ \
31733173
$(@:.build/%.res=%.c) && \

shared.mak

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ ifndef V
6969
QUIET_SP = @echo ' ' SP $<;
7070
QUIET_HDR = @echo ' ' HDR $(<:hcc=h);
7171
QUIET_RC = @echo ' ' RC $@;
72-
QUIET_SPATCH = @echo ' ' SPATCH $<;
73-
QUIET_SPATCH_T = @echo ' ' SPATCH TEST $(@:.build/%=%);
72+
73+
## Used in "Makefile": SPATCH
74+
QUIET_SPATCH = @echo ' ' SPATCH $<;
75+
QUIET_SPATCH_TEST = @echo ' ' SPATCH TEST $(@:.build/%=%);
7476

7577
## Used in "Documentation/Makefile"
7678
QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@;

0 commit comments

Comments
 (0)