From a888044525d9f03290cc1afe62dcfa3bec4bc0b9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 19 Oct 2020 11:40:56 +0200 Subject: Cleanup: Automake: remove single use variables Throughout the Automake files, there is a consistent pattern somewhat like this: FOO_BINS = .... sbin_PROGRAMS += $(FOO_BINS) This commit all such patterns whenever the variable is not used anywhere else and appends to the target directly. Signed-off-by: David Oberhollenzer --- tests/checkfs/Makemodule.am | 5 +---- tests/jittertest/Makemodule.am | 5 +---- tests/unittests/Makemodule.am | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/checkfs/Makemodule.am b/tests/checkfs/Makemodule.am index 64ab869..9f91373 100644 --- a/tests/checkfs/Makemodule.am +++ b/tests/checkfs/Makemodule.am @@ -8,10 +8,7 @@ makefiles_CPPFLAGS = $(AM_CPPFLAGS) CHECKFS_BINS = \ makefiles checkfs -CHECKFS_EXTRA = \ - tests/checkfs/README - -EXTRA_DIST += $(CHECKFS_EXTRA) +EXTRA_DIST += tests/checkfs/README if INSTALL_TESTS pkglibexec_PROGRAMS += $(CHECKFS_BINS) diff --git a/tests/jittertest/Makemodule.am b/tests/jittertest/Makemodule.am index d4cc121..4698365 100644 --- a/tests/jittertest/Makemodule.am +++ b/tests/jittertest/Makemodule.am @@ -10,10 +10,7 @@ JITTEREST_BINS = \ JITTERTEST_SH = \ tests/jittertest/filljffs2.sh -JITTERTEST_EXTRA = \ - tests/jittertest/README - -EXTRA_DIST += $(JITTERTEST_EXTRA) $(JITTERTEST_SH) +EXTRA_DIST += tests/jittertest/README $(JITTERTEST_SH) if INSTALL_TESTS pkglibexec_SCRIPTS += $(JITTERTEST_SH) diff --git a/tests/unittests/Makemodule.am b/tests/unittests/Makemodule.am index cadd1bc..277cac2 100644 --- a/tests/unittests/Makemodule.am +++ b/tests/unittests/Makemodule.am @@ -14,10 +14,7 @@ TEST_BINS = \ ubilib_test \ mtdlib_test -UNITTEST_EXTRA = \ - tests/unittests/sysfs_mock - -EXTRA_DIST += $(UNITTEST_EXTRA) +EXTRA_DIST += tests/unittests/sysfs_mock TESTS += $(TEST_BINS) check_PROGRAMS += $(TEST_BINS) -- cgit v1.2.3