diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-01-17 15:43:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-17 15:49:01 +0100 |
commit | f25ef2b904652ab3162c61864eeb5a2381bb796f (patch) | |
tree | b91439a069bb27838c54fba712f8ef29b466b6ac /solenv/gbuild | |
parent | aeb56b2ba1eefe08be4a7f20dc36d4a6200aa949 (diff) |
gbuild: UnoApiTarget: initialize target local vars
Fixes the problem in offapi, where a rebuild after changing an IDL file
would produce an offapi.rdb that contained the stale content of the
old version of the IDL file. This was because in offapi 2 rdb files are
built, offapi.rdb and types.rdb, and types.rdb is a merge of udkapi.rdb
and offapi.rdb, hence it depends on offapi.rdb. Unfortunately this means
that the UNOAPI_MERGE variable for types.rdb is inherited to
offapi.rdb, with the result that after the workdir offapi.rdb is built
from .urd files, it is overwritten by a merge of udkapi.rdb and a stale
offapi.rdb from the solver.
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/UnoApiTarget.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk index 704659b85927..4614fc6df304 100644 --- a/solenv/gbuild/UnoApiTarget.mk +++ b/solenv/gbuild/UnoApiTarget.mk @@ -57,6 +57,10 @@ define gb_UnoApiTarget_UnoApiTarget $$(eval $$(call gb_Module_register_target,$(call gb_UnoApiOutTarget_get_target,$(1)),$(call gb_UnoApiOutTarget_get_clean_target,$(1)))) $(call gb_UnoApiOutTarget_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(1)) $(call gb_UnoApiOutTarget_get_clean_target,$(1)) : $(call gb_UnoApiTarget_get_clean_target,$(1)) +$(call gb_UnoApiTarget_get_target,$(1)) : INCLUDE := +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_DEPS := +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_MERGE := +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_REFERENCE := gb_UnoApiTarget_HPPFILES_$(1) := gb_UnoApiTarget_IDLFILES_$(1) := ifeq ($(gb_FULLDEPS),$(true)) |