From b15779639a0d1a3e57c2a56702a2c571426c105b Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 24 Feb 2013 21:53:08 +0100 Subject: [PATCH] buildpkg.functions: add support for changing the generic install target --- buildpkg.functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/buildpkg.functions b/buildpkg.functions index cedceb3..427e758 100644 --- a/buildpkg.functions +++ b/buildpkg.functions @@ -135,6 +135,10 @@ make_build_target="" # We default to 'check' make_check_target="check" +# Allow overriding the make target for running the install +# We default to 'install' +make_install_target=install + # Allow skipping the configure run no_configure=0 @@ -920,7 +924,7 @@ generic_install() ${__mkdir} -p $dest fi setdir ${srcdir}/${topsrcdir}/$2 - ${__make} $destvar=$dest install + ${__make} $(_upls $make_install_target) $destvar=$dest if [ $? -ne 0 ]; then error $E_BAD_MAKE generic_install fi