From 332c074b2eedbda01d2b13fe2f6bef8635a58619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20P=C3=B6tzsch?= Date: Fri, 20 Mar 2026 13:14:15 +0100 Subject: [PATCH 1/2] classes/autotools: fix typo --- classes/autotools.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/autotools.yaml b/classes/autotools.yaml index 3a6e8efc..6a14c77f 100644 --- a/classes/autotools.yaml +++ b/classes/autotools.yaml @@ -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=() @@ -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" @@ -87,7 +87,7 @@ buildSetup: | touch .configure.stamp fi makeParallel $MAKE_TARGET ${MAKE_OPTIONS:+"${MAKE_OPTIONS[@]}"} - make $INSTALL_TAGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"} + make $INSTALL_TARGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"} popd } From e7db76d587ef565346c13df246499afac4068648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20P=C3=B6tzsch?= Date: Fri, 20 Mar 2026 13:15:12 +0100 Subject: [PATCH 2/2] classes/autotools: allow to skip install step Sometimes users don't want the "make install" step to be executed. Allow this by setting the install target to nothing (-i ""). --- classes/autotools.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/autotools.yaml b/classes/autotools.yaml index 6a14c77f..075fb746 100644 --- a/classes/autotools.yaml +++ b/classes/autotools.yaml @@ -87,7 +87,9 @@ buildSetup: | touch .configure.stamp fi makeParallel $MAKE_TARGET ${MAKE_OPTIONS:+"${MAKE_OPTIONS[@]}"} - make $INSTALL_TARGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"} + if [[ $INSTALL_TARGET:+true} ]]; then + make $INSTALL_TARGET DESTDIR=${PWD}/../install ${INSTALL_OPTIONS:+"${INSTALL_OPTIONS[@]}"} + fi popd }