summaryrefslogtreecommitdiff
path: root/instsetoo_native
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-27 15:06:21 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-28 16:34:24 +0200
commit0346f008e7ee6d30b8990806bab8cc69b4bf181d (patch)
tree771b371908cbc1a8b0431a605e658973487352bf /instsetoo_native
parent6ae02e9c617f969262e28bc705bf3cb269d665d7 (diff)
gbuild: add ure-link to instdir
Change-Id: I1279ea7cdd9828598179154815a85e2a4ce7e567
Diffstat (limited to 'instsetoo_native')
-rw-r--r--instsetoo_native/CustomTarget_setup.mk8
-rw-r--r--instsetoo_native/Package_setup.mk1
2 files changed, 9 insertions, 0 deletions
diff --git a/instsetoo_native/CustomTarget_setup.mk b/instsetoo_native/CustomTarget_setup.mk
index 51647eb85a9c..2374fb1fc4a0 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -11,6 +11,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/setup))
$(eval $(call gb_CustomTarget_register_targets,instsetoo_native/setup,\
ooenv \
+ ure-link \
))
$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
@@ -29,4 +30,11 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
echo 'export OOO_DISABLE_RECOVERY=1' \
) > $@
+$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ure-link :
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LN ,1)
+ rm -f $@ && \
+ mkdir -p $(dir $@)/ure && \
+ cd $(dir $@) && \
+ ln -s ure ure-link
+
# vim: set noet sw=4 ts=4:
diff --git a/instsetoo_native/Package_setup.mk b/instsetoo_native/Package_setup.mk
index cf73f4fae8c3..cd32a9e6bcbe 100644
--- a/instsetoo_native/Package_setup.mk
+++ b/instsetoo_native/Package_setup.mk
@@ -12,5 +12,6 @@ $(eval $(call gb_Package_Package,instsetoo_native_setup,$(call gb_CustomTarget_g
$(eval $(call gb_Package_set_outdir,instsetoo_native_setup,$(INSTDIR)))
$(eval $(call gb_Package_add_file,instsetoo_native_setup,program/ooenv,ooenv))
+$(eval $(call gb_Package_add_file,instsetoo_native_setup,ure-link,ure-link))
# vim: set noet sw=4 ts=4: