diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-07-16 14:54:04 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-07-16 16:54:59 +0200 |
commit | 85c7e212a26b24883b9a001b6529efeb80955809 (patch) | |
tree | 61e29807b75c37191d8ac53055ec4d62507bd0c2 /sysui/CustomTarget_infoplist.mk | |
parent | 2bbf5d5bcffd2218f6b48fdfa4965735cbd4dd68 (diff) |
gbuild: consolidate ULF copypaste in gb_CustomTarget_ulfex_rule
Change-Id: I0c5b68f6bc81c7c1c88be2cde42fc06949fff8e7
Diffstat (limited to 'sysui/CustomTarget_infoplist.mk')
-rw-r--r-- | sysui/CustomTarget_infoplist.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysui/CustomTarget_infoplist.mk b/sysui/CustomTarget_infoplist.mk index 64419ba5526a..48e8cc84fefb 100644 --- a/sysui/CustomTarget_infoplist.mk +++ b/sysui/CustomTarget_infoplist.mk @@ -31,10 +31,17 @@ $(info_WORKDIR)/InfoPlist_%.zip: $(info_WORKDIR)/InfoPlist_%/InfoPlist.strings $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ZIP,1) zip -j $@ $< -$(info_WORKDIR)/InfoPlist_%/InfoPlist.strings: $(info_WORKDIR)/Info.plist $(call gb_CustomTarget_get_workdir,sysui/share)/documents.ulf +$(info_WORKDIR)/InfoPlist_%/InfoPlist.strings: \ + $(info_WORKDIR)/Info.plist $(info_WORKDIR)/documents.ulf mkdir -p $(dir $@) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1) $(PERL) -w $(info_SRCDIR)/gen_strings.pl -l $* -p $^ | \ iconv -f UTF-8 -t UTF-16 >$@ +$(eval $(call gb_CustomTarget_ulfex_rule,\ + $(info_WORKDIR)/documents.ulf,\ + $(SRCDIR)/sysui/desktop/share/documents.ulf,\ + $(foreach lang,$(gb_TRANS_LANGS),\ + $(gb_POLOCATION)/$(lang)/sysui/desktop/share.po))) + # vim: set noet sw=4 ts=4: |