Bump version to 6.4.7.2.M8
[LibreOffice.git] / solenv / gbuild / extensions / pre_SharedLangList.mk
blob3c9c3c725a467aada0b0bbfee7962611e98c1e96
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 # share language list with dmake build system
21 include $(SRCDIR)/solenv/inc/langlist.mk
23 ifneq ($(WITH_LANG),ALL)
24 gb_WITH_LANG=$(WITH_LANG)
25 else
26 # expand ALL based on language list)
27 gb_WITH_LANG=$(completelangiso)
28 endif
29 gb_HELP_LANGS := en-US
31 ifneq ($(ENABLE_RELEASE_BUILD),TRUE)
32 ifneq ($(WITH_LANG),)
33 gb_WITH_LANG += qtz
34 gb_HELP_LANGS += qtz
35 endif
36 endif
38 gb_TRANS_LANGS = $(filter-out en-US,$(filter-out qtz,$(gb_WITH_LANG)))
40 gb_HELP_LANGS += \
41 $(foreach lang,$(filter-out $(WITH_POOR_HELP_LOCALIZATIONS),$(gb_TRANS_LANGS)),\
42 $(if \
43 $(and \
44 $(wildcard $(SRCDIR)/helpcontent2/source/auxiliary/$(lang)),\
45 $(wildcard $(SRCDIR)/translations/source/$(lang)/helpcontent2)),\
46 $(lang)))
48 # Langs that need special handling for registry files. This is done by
49 # MAKE_LANG_SPECIFIC flag in scp.
50 gb_CJK_LANGS := $(filter $(gb_WITH_LANG),ja ko zh-CN zh-TW)
51 gb_CTL_LANGS := $(filter $(gb_WITH_LANG),ar bo dz fa gu he hi km ky-CN lo my ne or pa-IN ta th)
52 gb_CTLSEQCHECK_LANGS := $(filter $(gb_CTL_LANGS),km lo th)
54 # vim: set noet ts=4 sw=4: