summaryrefslogtreecommitdiff
path: root/i18npool/CustomTarget_collator.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-27 14:11:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-27 14:37:00 +0100
commit82c25249e624cb54ca6d3293d1c3d0d8ebc208e0 (patch)
tree098de08481289c24e629a358f4dc523c245fc432 /i18npool/CustomTarget_collator.mk
parent8eeddcdbb5baac2ee3378df38a198b0cdffa0495 (diff)
list dependencies explicitly
and make the list (by its makefile proxy) a dependency of the output so that removing an entry will trigger a rebuild of the target and incremental builds are possible Change-Id: I18c8d5ea2140e61b2ef78e256871402be94b79e2
Diffstat (limited to 'i18npool/CustomTarget_collator.mk')
-rw-r--r--i18npool/CustomTarget_collator.mk23
1 files changed, 21 insertions, 2 deletions
diff --git a/i18npool/CustomTarget_collator.mk b/i18npool/CustomTarget_collator.mk
index 95cf190632a3..2613f672f93e 100644
--- a/i18npool/CustomTarget_collator.mk
+++ b/i18npool/CustomTarget_collator.mk
@@ -29,9 +29,28 @@
$(eval $(call gb_CustomTarget_CustomTarget,i18npool/collator))
i18npool_CODIR := $(call gb_CustomTarget_get_workdir,i18npool/collator)
-i18npool_COTXTS := $(notdir $(wildcard $(SRCDIR)/i18npool/source/collator/data/*.txt))
+i18npool_COTXTS := \
+ ca_charset.txt \
+ dz_charset.txt \
+ hu_charset.txt \
+ ja_charset.txt \
+ ja_phonetic_alphanumeric_first.txt \
+ ja_phonetic_alphanumeric_last.txt \
+ ko_charset.txt \
+ ku_alphanumeric.txt \
+ ln_charset.txt \
+ my_dictionary.txt \
+ ne_charset.txt \
+ zh_charset.txt \
+ zh_pinyin.txt \
+ zh_radical.txt \
+ zh_stroke.txt \
+ zh_TW_charset.txt \
+ zh_TW_radical.txt \
+ zh_TW_stroke.txt \
+ zh_zhuyin.txt
-$(call gb_CustomTarget_get_target,i18npool/collator) : \
+$(call gb_CustomTarget_get_target,i18npool/collator) : $(SRCDIR)/i18npool/CustomTarget_collator.mk \
$(i18npool_CODIR)/lrl_include.hxx $(foreach txt,$(i18npool_COTXTS), \
$(patsubst %.txt,$(i18npool_CODIR)/collator_%.cxx,$(txt)))