summaryrefslogtreecommitdiff
path: root/solenv/gbuild/TargetLocations.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-25 16:45:41 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-25 16:46:55 +0200
commit5b29d3a7fd759fd3d35af4a13e0977be6c20cd99 (patch)
treecb43d76a9eb69bd59356cf4385fdfeadcb99795d /solenv/gbuild/TargetLocations.mk
parent7d97ec9a3eba9ceacbea631a56185e40b62fdec7 (diff)
gbuild: refactor UnoApi to remove rdb files from OUTDIR
- gb_UnoApi_get_target returns the files in INSTDIR - stop using rdb files from OUTDIR - remove gb_UnoApi_install - remove pointless 2nd parameter of gb_UnoApi_UnoApi - order-only dependency from gb_UnoApi_get_target to gb_UnoApiHeadersTarget_get_target because INSTDIR .rdb is always outdated Change-Id: Id418f75e9b38d6fe135b55eca2594c2624bc41cc
Diffstat (limited to 'solenv/gbuild/TargetLocations.mk')
-rw-r--r--solenv/gbuild/TargetLocations.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk
index 6131af1ababe..cdf828b3d947 100644
--- a/solenv/gbuild/TargetLocations.mk
+++ b/solenv/gbuild/TargetLocations.mk
@@ -35,7 +35,8 @@ gb_PackagePart_get_destinations = \
gb_InstallScript_get_target = $(OUTDIR)/bin/$(1)$(gb_InstallScript_EXT)
gb_ResTarget_get_unittest_target = \
$(OUTDIR)/unittest/install/$(LIBO_SHARE_RESOURCE_FOLDER)/$(1).res
-gb_UnoApi_get_target = $(OUTDIR)/bin/$(1).rdb
+# kind of lame but with just 3 of these why bother with registration etc.
+gb_UnoApi_get_target = $(INSTDIR)/$(if $(filter udkapi,$(1)),$(LIBO_URE_SHARE_FOLDER)/misc/types,$(LIBO_ETC_FOLDER)/types/$(1)).rdb
# instdir target patterns
@@ -307,6 +308,7 @@ $(eval $(call gb_Helper_make_clean_targets,\
UIImageListTarget \
UILocalizeTarget \
UIMenubarTarget \
+ UnoApi \
UnoApiHeadersTarget \
UnoApiTarget \
UnpackedTarball \
@@ -329,7 +331,6 @@ $(eval $(call gb_Helper_make_outdir_clean_targets,\
CliNativeLibrary \
CliUnoApi \
InstallScript \
- UnoApi \
))
$(eval $(call gb_Helper_make_dep_targets,\