[PATCH] fix problem with missing .po files

Matúš Kukan (via_Code_Review) gerrit at gerrit.libreoffice.org
Tue Jan 8 16:02:25 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1603

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/03/1603/1

fix problem with missing .po files

Use wildcard also for uiex's input merge files.

Change-Id: Ieaeee17edd16cf58ac72b74810d1932769bb60a9
---
M solenv/gbuild/UI.mk
1 file changed, 1 insertion(+), 3 deletions(-)



diff --git a/solenv/gbuild/UI.mk b/solenv/gbuild/UI.mk
index 6078df3..bf69bbf 100644
--- a/solenv/gbuild/UI.mk
+++ b/solenv/gbuild/UI.mk
@@ -65,7 +65,7 @@
 #
 # gb_UILocalizeTarget_UILocalizeTarget target
 define gb_UILocalizeTarget_UILocalizeTarget
-$(call gb_UILocalizeTarget__UILocalizeTarget_impl,$(1),$(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(patsubst %/,%,$(dir $(1))).po))
+$(call gb_UILocalizeTarget__UILocalizeTarget_impl,$(1),$(foreach lang,$(gb_TRANS_LANGS),$(wildcard $(gb_POLOCATION)/$(lang)/$(patsubst %/,%,$(dir $(1))).po)))
 
 endef
 
@@ -79,8 +79,6 @@
 $(call gb_UILocalizeTarget_get_target,$(1)) :| \
 	$(dir $(call gb_UILocalizeTarget_get_target,$(1))).dir \
 	$(call gb_UILocalizeTarget_get_workdir,$(1))/.dir
-
-$(2) :
 
 endef
 

-- 
To view, visit https://gerrit.libreoffice.org/1603
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieaeee17edd16cf58ac72b74810d1932769bb60a9
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matúš Kukan <matus.kukan at gmail.com>



More information about the LibreOffice mailing list