summaryrefslogtreecommitdiff
path: root/solenv/inc
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-06-01 17:45:55 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-06-02 19:26:46 +0200
commite8392bc1c984da1f09674055b1bac95e12de59a6 (patch)
treede30fcfde0f45aceac72c0cb7f43f12e6371f3ed /solenv/inc
parent7e9c23894bd45e015accf26ae0a77035b7eed452 (diff)
allow low-translation-completion-langs for dev-builds (e.g.: Sundanese)
will be included when using --with-lang=ALL in non-release configuration (i.e. tinderbox provided daily builds), but not when using --enable-release-build. Change the way how configure fetches the list of all supported languages from a fancy sed call to running make with a dummy-recipe. Change-Id: I8bbea5fd95d37eac5bbce2e55ae34830b0ab4ebb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168334 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'solenv/inc')
-rw-r--r--solenv/inc/langlist.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/inc/langlist.mk b/solenv/inc/langlist.mk
index 0de00dff99a7..95a295c10738 100644
--- a/solenv/inc/langlist.mk
+++ b/solenv/inc/langlist.mk
@@ -138,6 +138,15 @@ zh-CN \
zh-TW \
zu
+# languages with low translation percentage, but still wish to have daily builds
+lowcompletion_langs = sun
+ifneq ($(ENABLE_RELEASE_BUILD),TRUE)
+completelangiso += $(lowcompletion_langs)
+else
+# allow to manually specify even in release config
+completelangiso += $(foreach lang,$(WITH_LANG),$(filter $(lang),$(lowcompletion_langs)))
+endif
+
ifneq ($(WITH_LANG),ALL)
gb_WITH_LANG=$(WITH_LANG)
else