diff options
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/l10n-docker-nightly.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/l10n-docker-nightly.sh b/docker/l10n-docker-nightly.sh index 2f05863d6..3fa5bfce3 100755 --- a/docker/l10n-docker-nightly.sh +++ b/docker/l10n-docker-nightly.sh @@ -9,6 +9,7 @@ # * DOCKER_HUB_REPO - which Docker Hub repo to use # * DOCKER_HUB_TAG - which Docker Hub tag to create # * LIBREOFFICE_BRANCH - which branch to build (needs to exist in both core and online) +# * LIBREOFFICE_BUILD_TARGET - which make target to run (in core repo) # check we can sudo without asking a pwd echo "Trying if sudo works without a password" @@ -32,6 +33,11 @@ if [ -z "$LIBREOFFICE_BRANCH" ]; then fi; echo "Building branch '$LIBREOFFICE_BRANCH'" +if [ -z "$LIBREOFFICE_BUILD_TARGET" ]; then + LIBREOFFICE_BUILD_TARGET="" +fi; +echo "LibreOffice build target: '$LIBREOFFICE_BUILD_TARGET'" + # check if we have jake which jake || { cat << EOF @@ -128,7 +134,7 @@ cat > libreoffice/autogen.input << EOF EOF ( cd libreoffice && ./autogen.sh ) || exit 1 -( cd libreoffice && make ) || exit 1 +( cd libreoffice && make $LIBREOFFICE_BUILD_TARGET ) || exit 1 # copy stuff mkdir -p "$INSTDIR"/opt/ |