summaryrefslogtreecommitdiff
path: root/i18npool/CustomTarget_indexentry.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_indexentry.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_indexentry.mk')
-rw-r--r--i18npool/CustomTarget_indexentry.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/i18npool/CustomTarget_indexentry.mk b/i18npool/CustomTarget_indexentry.mk
index 8a6a63c971ab..03a8ff54b36a 100644
--- a/i18npool/CustomTarget_indexentry.mk
+++ b/i18npool/CustomTarget_indexentry.mk
@@ -28,9 +28,20 @@
$(eval $(call gb_CustomTarget_CustomTarget,i18npool/indexentry))
-$(call gb_CustomTarget_get_target,i18npool/indexentry) : \
- $(patsubst %.txt,$(call gb_CustomTarget_get_workdir,i18npool/indexentry)/%.cxx,$(notdir \
- $(wildcard $(SRCDIR)/i18npool/source/indexentry/data/*.txt)))
+i18npool_IDXTXTS := \
+ indexdata_ko_dict.txt \
+ indexdata_zh_pinyin.txt \
+ indexdata_zh_radical.txt \
+ indexdata_zh_stroke.txt \
+ indexdata_zh_TW_radical.txt \
+ indexdata_zh_TW_stroke.txt \
+ indexdata_zh_zhuyin.txt \
+ ko_phonetic.txt \
+ zh_pinyin.txt \
+ zh_zhuyin.txt
+
+$(call gb_CustomTarget_get_target,i18npool/indexentry) : $(SRCDIR)/i18npool/CustomTarget_indexentry.mk \
+ $(patsubst %.txt,$(call gb_CustomTarget_get_workdir,i18npool/indexentry)/%.cxx,$(i18npool_IDXTXTS))
$(call gb_CustomTarget_get_workdir,i18npool/indexentry)/%.cxx : \
$(SRCDIR)/i18npool/source/indexentry/data/%.txt \