Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions classes/autotools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildSetup: |
{
local MAKE_TARGET=
local MAKE_OPTIONS=( )
local INSTALL_TAGET=install
local INSTALL_TARGET=install
local INSTALL_OPTIONS=( )
local SHARED_STATIC=( )
local AUTOCONF_OPTS=()
Expand Down Expand Up @@ -38,7 +38,7 @@ buildSetup: |
while getopts "i:m:o:O:sS:" opt ; do
case "$opt" in
i)
INSTALL_TAGET="$OPTARG"
INSTALL_TARGET="$OPTARG"
;;
m)
MAKE_TARGET="$OPTARG"
Expand Down Expand Up @@ -87,7 +87,9 @@ buildSetup: |
touch .configure.stamp
fi
makeParallel $MAKE_TARGET ${MAKE_OPTIONS:+"${MAKE_OPTIONS[@]}"}
make $INSTALL_TAGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"}
if [[ $INSTALL_TARGET:+true} ]]; then
make $INSTALL_TARGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"}
fi
popd
}

Expand Down
Loading