[Libreoffice-commits] core.git: solenv/gbuild

Caolán McNamara caolanm at redhat.com
Fri Jul 21 09:37:20 UTC 2017


 solenv/gbuild/AllLangMoTarget.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bc7a68d06c0fd92b8eda473600438fd6dc2164c6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 21 10:36:17 2017 +0100

    temporarily survive missing translations
    
    Change-Id: I19c27e524d2ad1e57fa3ca41b1bfaed17215bd76

diff --git a/solenv/gbuild/AllLangMoTarget.mk b/solenv/gbuild/AllLangMoTarget.mk
index e94ba29057be..9772e8c8d1e6 100644
--- a/solenv/gbuild/AllLangMoTarget.mk
+++ b/solenv/gbuild/AllLangMoTarget.mk
@@ -43,7 +43,7 @@ $(call gb_MoTarget_get_target,%) : $(gb_Helper_MISCDUMMY) $(gb_MoTarget_LOCALEST
 	$(call gb_Output_announce,$*,$(true),MO,2)
 	$(call gb_Helper_abbreviate_dirs,\
 		mkdir -p $(dir $@) && \
-		$(MSGUNIQ) $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@)
+		if test -e $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po; then $(MSGUNIQ) $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po | $(MSGFMT) - -o $@; else touch $@; fi)
 
 #$(info $(call gb_MoTarget_get_target,$(1)))
 define gb_MoTarget_MoTarget


More information about the Libreoffice-commits mailing list