diff options
author | David Tardon <dtardon@redhat.com> | 2012-12-27 12:15:08 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-12-27 17:16:51 +0100 |
commit | 4faaf5579937e2e2fc91aef28ba4974020d2fa9f (patch) | |
tree | 78974f09bb140afd66220ff3ea1ca050ced2827a /solenv/gbuild | |
parent | b209dec8bbc9be5471438837a4da64adfa350298 (diff) |
simplify UI packaging
Change-Id: Id829cd4f12cb4d3fc8cb08dc5b297ee3cfc7591b
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/UI.mk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/solenv/gbuild/UI.mk b/solenv/gbuild/UI.mk index ad569e145c6a..08a38517863c 100644 --- a/solenv/gbuild/UI.mk +++ b/solenv/gbuild/UI.mk @@ -117,24 +117,21 @@ $(call gb_Helper_make_userfriendly_targets,$(1),UI) endef -# gb_UI__get_outdir_filename target file lang? -gb_UI__get_outdir_filename = xml/uiconfig/$(1)/ui/$(if $(3),res/$(3)/)$(notdir $(2))$(if $(3),,.ui) - -# gb_UI__add_uifile target package destfile srcfile lang? +# gb_UI__package_uifile target package destfile srcfile define gb_UI__package_uifile -$(call gb_Package_add_file,$(2),$(call gb_UI__get_outdir_filename,$(1),$(3),$(5)),$(4)) +$(call gb_Package_add_file,$(2),xml/uiconfig/$(1)/ui/$(3),$(4)) endef # gb_UI__add_uifile target file define gb_UI__add_uifile -$(call gb_UI__package_uifile,$(1),$(1)_ui,$(2),$(2).ui) +$(call gb_UI__package_uifile,$(1),$(1)_ui,$(notdir $(2)).ui,$(2).ui) endef # gb_UI__add_uifile_for_lang target file lang define gb_UI__add_uifile_for_lang -$(call gb_UI__package_uifile,$(1),$(1)_ui_localized,$(2),$(2)/$(3).ui,$(3)) +$(call gb_UI__package_uifile,$(1),$(1)_ui_localized,res/$(3)/$(notdir $(2)),$(2)/$(3).ui) endef |