1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

Makefile: Allow installation of fiemap/fiewalk support tools

There's now a new make target called "install_tools" which would not run
by default on installation.

One can add "OPTIONAL_INSTALL_TARGETS=install_tools" into localconf to
install these by default.

fiewalk would be installed to sbin, as only root can run it, the other
goes to bin.

Gentoo can use this to optionally install these tools as a package
feature.

Signed-off-by: Kai Krakow <kai@kaishome.de>
Dieser Commit ist enthalten in:
Kai Krakow
2018-01-19 22:11:34 +01:00
Ursprung 85f9265034
Commit 451f0ad9aa
2 geänderte Dateien mit 12 neuen und 2 gelöschten Zeilen
+6 -1
Datei anzeigen
@@ -22,7 +22,7 @@ PATCHES="
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
IUSE="tools"
COMMON_DEPEND="
>=sys-apps/util-linux-2.30.2
@@ -41,4 +41,9 @@ HTML_DOCS="README.html"
src_prepare() {
default
echo LIBDIR=$(get_libdir) >>${S}/localconf
localconf=${S}/localconf
if use tools; then
einfo "Building with support tools fiemap and fiewalk."
echo OPTIONAL_INSTALL_TARGETS=install_tools >>${localconf} || die
fi
}