aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-10-19 11:40:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-01-20 11:53:58 +0100
commita888044525d9f03290cc1afe62dcfa3bec4bc0b9 (patch)
tree0e2736817cc6a0bb9a41a453bb2bde3eb04551ea /ubi-utils
parentc41808cdc3a2c3c8ca5f73707745f48aae49e17e (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils')
-rw-r--r--ubi-utils/Makemodule.am10
1 files changed, 3 insertions, 7 deletions
diff --git a/ubi-utils/Makemodule.am b/ubi-utils/Makemodule.am
index 00d5d8f..7491a8a 100644
--- a/ubi-utils/Makemodule.am
+++ b/ubi-utils/Makemodule.am
@@ -42,17 +42,13 @@ ubihealthd_SOURCES = ubi-utils/ubihealthd.c
ubihealthd_LDADD = libmtd.a libubi.a
endif
-UBI_BINS = \
+sbin_PROGRAMS += \
ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \
ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock
if WITH_GETRANDOM
-UBI_BINS += ubihealthd
+sbin_PROGRAMS += ubihealthd
endif
-UBI_MAN = \
- ubi-utils/ubinize.8
+dist_man8_MANS += ubi-utils/ubinize.8
-dist_man8_MANS += $(UBI_MAN)
-
-sbin_PROGRAMS += $(UBI_BINS)