[Libreoffice-commits] .: solenv/gbuild
Bjoern Michaelsen
bmichaelsen at kemper.freedesktop.org
Fri Oct 7 10:06:22 PDT 2011
solenv/gbuild/LinkTarget.mk | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 49861a0246547554e285b4d14f049a28addd4ddc
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Oct 7 19:05:48 2011 +0200
error on missing generated files too
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 78375bf..dea4aaa 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -197,6 +197,7 @@ gb_GenCObject_get_source = $(WORKDIR)/$(1).c
# gb_CObject__command
$(call gb_GenCObject_get_target,%) : $(call gb_GenCObject_get_source,%)
+ $(if $(wildcard $<),,$(eval $(call gb_Output_error,No such source file $<)))
$(call gb_CObject__command,$@,$*,$<,$(call gb_GenCObject_get_dep_target,$*))
ifeq ($(gb_FULLDEPS),$(true))
@@ -215,6 +216,7 @@ gb_GenCxxObject_get_source = $(WORKDIR)/$(1).cxx
# gb_CxxObject__command
$(call gb_GenCxxObject_get_target,%) : $(call gb_GenCxxObject_get_source,%)
+ $(if $(wildcard $<),,$(eval $(call gb_Output_error,No such source file $<)))
$(call gb_CxxObject__command,$@,$*,$<,$(call gb_GenCxxObject_get_dep_target,$*))
ifeq ($(gb_FULLDEPS),$(true))
More information about the Libreoffice-commits
mailing list