diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-10-19 11:40:56 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-01-20 11:53:58 +0100 |
commit | a888044525d9f03290cc1afe62dcfa3bec4bc0b9 (patch) | |
tree | 0e2736817cc6a0bb9a41a453bb2bde3eb04551ea /ubi-utils/Makemodule.am | |
parent | c41808cdc3a2c3c8ca5f73707745f48aae49e17e (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/Makemodule.am')
-rw-r--r-- | ubi-utils/Makemodule.am | 10 |
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) |