jsdialog: apply .uno:LineWidth in Calc
[LibreOffice.git] / i18npool / CustomTarget_collator.mk
blobccecfabb28f87d0809d9ac28bf3aac9c07b7a2aa
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/.
10 $(eval $(call gb_CustomTarget_CustomTarget,i18npool/collator))
12 i18npool_CODIR := $(call gb_CustomTarget_get_workdir,i18npool/collator)
13 i18npool_COTXTS := \
14 cu_charset.txt \
15 $(call gb_Helper_optional_locale,ca, \
16 ca_charset.txt) \
17 $(call gb_Helper_optional_locale,dz, \
18 dz_charset.txt) \
19 $(call gb_Helper_optional_locale,hu, \
20 hu_charset.txt) \
21 $(call gb_Helper_optional_locale,ja, \
22 ja_charset.txt \
23 ja_phonetic_alphanumeric_first.txt \
24 ja_phonetic_alphanumeric_last.txt) \
25 $(if $(i18npool_ICULT53), \
26 $(call gb_Helper_optional_locale,ko, \
27 ko_charset.txt) \
28 ) \
29 $(call gb_Helper_optional_locale,ku, \
30 ku_alphanumeric.txt) \
31 $(call gb_Helper_optional_locale,ln, \
32 ln_charset.txt) \
33 $(call gb_Helper_optional_locale,my, \
34 my_dictionary.txt) \
35 $(call gb_Helper_optional_locale,ne, \
36 ne_charset.txt) \
37 $(call gb_Helper_optional_locale,sid, \
38 sid_charset.txt) \
39 $(call gb_Helper_optional_locale,zh, \
40 zh_charset.txt \
41 zh_pinyin.txt \
42 zh_radical.txt \
43 zh_stroke.txt \
44 zh_TW_charset.txt \
45 zh_TW_radical.txt \
46 zh_TW_stroke.txt \
47 zh_zhuyin.txt)
49 $(call gb_CustomTarget_get_target,i18npool/collator) : $(SRCDIR)/i18npool/CustomTarget_collator.mk \
50 $(i18npool_CODIR)/lrl_include.hxx $(foreach txt,$(i18npool_COTXTS), \
51 $(patsubst %.txt,$(i18npool_CODIR)/collator_%.cxx,$(txt)))
53 $(i18npool_CODIR)/collator_%.cxx : \
54 $(SRCDIR)/i18npool/source/collator/data/%.txt \
55 $(call gb_Executable_get_runtime_dependencies,gencoll_rule) \
56 | $(i18npool_CODIR)/.dir
57 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CLR,1)
58 $(call gb_Helper_abbreviate_dirs, \
59 $(call gb_Helper_execute,gencoll_rule) $< $@ $*)
61 $(i18npool_CODIR)/lrl_include.hxx : $(SRCDIR)/i18npool/CustomTarget_collator.mk \
62 $(SRCDIR)/i18npool/source/collator/data | $(i18npool_CODIR)/.dir
63 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
64 echo '#define LOCAL_RULE_LANGS "$(sort $(foreach txt,$(i18npool_COTXTS), \
65 $(firstword $(subst _, ,$(txt)))))"' > $@
67 # vim: set noet sw=4 ts=4: