diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-27 14:13:16 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-27 14:32:44 +0100 |
commit | f448777213bae4248cb330725cea0bc38dddc143 (patch) | |
tree | ff1307dda2cc3d22b72aa2f84aebb06fda654931 /solenv | |
parent | 95434a81c320717cd29c2aebc91a750c547f6c62 (diff) |
add missing l10n config files
Change-Id: Ia7e654cdeffd832f51016ff51aa180fe3924ff4e
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/extensions/post_PackageInfo.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/extensions/post_PackageInfo.mk b/solenv/gbuild/extensions/post_PackageInfo.mk index 9c1caec98743..22c6c459a273 100644 --- a/solenv/gbuild/extensions/post_PackageInfo.mk +++ b/solenv/gbuild/extensions/post_PackageInfo.mk @@ -59,11 +59,17 @@ define gb_PackageInfo_emit_l10n_for_one_uifile endef +define gb_PackageInfo_emit_l10n_for_one_configfile +echo "$(LIBO_SHARE_FOLDER)/registry/$(2)$(1).xcd" >> $(gb_PackageInfo_get_target)/l10n-$(1).files + +endef + define gb_PackageInfo_emit_l10n_for_one_lang @touch $(foreach suf,executables libraries files,$(gb_PackageInfo_get_target)/l10n-$(1).$(suf)) $(if $(filter-out qtz en-US,$(1)),$(foreach packagedir,$(patsubst %/,%,$(gb_AllLangPackage_ALLDIRS)),$(call gb_PackageInfo_emit_l10n_for_one_alllangpackage,$(packagedir),$(1)))) $(if $(filter $(gb_AllLangResTarget_LANGS),$(1)),$(foreach target,$(gb_AllLangResTarget_ALLTARGETS),$(call gb_PackageInfo_emit_l10n_for_one_ressource,$(target),$(1)))) $(foreach uifile,$(gb_UIConfig_ALLFILES),$(call gb_PackageInfo_emit_l10n_for_one_uifile,$(1),$(firstword $(subst :,$(WHITESPACE),$(uifile))),$(lastword $(subst :,$(WHITESPACE),$(uifile))))) +$(if $(filter $(gb_Configuration_LANGS),$(1)),$(foreach configfile,Langpack- res/fcfg_langpack_ res/registry_,$(call gb_PackageInfo_emit_l10n_for_one_configfile,$(1),$(configfile)))) endef |