[PATCH 2/4] Makefile: refactor for subsequent change
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 26, 2021, 16:07 UTC
- Message-ID
- <20210126160708.20903-3-avarab@gmail.com>
- In-Reply-To
- <20210126160708.20903-1-avarab@gmail.com>
Refactor the list of test programs into a handy variable. This does not matter now, but will make a subsequent change smaller.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index 36c7b8fa08b..4031fb1b22f 100644 --- a/Makefile +++ b/Makefile @@ -2788,8 +2788,9 @@ GIT-PYTHON-VARS: FORCE endif test_bindir_programs := $(patsubst %,bin-wrappers/%,$(BINDIR_PROGRAMS_NEED_X) $(BINDIR_PROGRAMS_NO_X) $(TEST_PROGRAMS_NEED_X)) +TEST_TOOLS = $(TEST_PROGRAMS) $(test_bindir_programs) -all:: $(TEST_PROGRAMS) $(test_bindir_programs) +all:: $(TEST_TOOLS) bin-wrappers/%: wrap-for-bin.sh @mkdir -p bin-wrappers
-- 2.29.2.222.g5d2a92d10f8