From 0346f008e7ee6d30b8990806bab8cc69b4bf181d Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 27 Apr 2013 15:06:21 +0200 Subject: [PATCH] gbuild: add ure-link to instdir Change-Id: I1279ea7cdd9828598179154815a85e2a4ce7e567 --- instsetoo_native/CustomTarget_setup.mk | 8 ++++++++ instsetoo_native/Package_setup.mk | 1 + 2 files changed, 9 insertions(+) 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: