summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-08 18:28:46 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-08 18:52:09 +0100
commit63ce8673cff538a49165259e0579f122b5879444 (patch)
tree29bbddaa77f0e390d88fe5de2c33bb69ec4c9eec /solenv
parent7217ad84a3dc3984ec943409d09a35d545f93632 (diff)
gbuild: Extension: avoid re-build on missing translation description.xml
Change-Id: I6292f4ec235f8880176c2671ec7c8533168cdbeb
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Extension.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk
index 8ec2fc4d7d6d..419deb682b19 100644
--- a/solenv/gbuild/Extension.mk
+++ b/solenv/gbuild/Extension.mk
@@ -131,9 +131,9 @@ $(if $(filter nodeliver,$(3)),,$(call gb_Extension__Extension_deliver,$(1),Exten
ifneq ($(strip $(gb_WITH_LANG)),)
$(call gb_Extension_get_target,$(1)) : \
- POFILES := $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(2).po)
+ POFILES := $(wildcard $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(2).po))
$(call gb_Extension_get_workdir,$(1))/description.xml : \
- $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(2).po)
+ $(wildcard $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(2).po))
$(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(2).po) :
endif