diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 15:15:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 15:16:24 +0100 |
commit | c14b9630a9f2be95d8c55c253e516f3acd7ccf78 (patch) | |
tree | 83a8699413a17db0003e0bb3df1e23bc29a8872f /odk | |
parent | c306c444bfd3d0984741fd99ed4f29016ef14ee2 (diff) |
Adapt CustomTarget_odk/build-examples to macOS
Change-Id: Ib64d5b5fa1bf13a484adb296b969d1b96387f0c6
Diffstat (limited to 'odk')
-rw-r--r-- | odk/CustomTarget_build-examples.mk | 2 | ||||
-rw-r--r-- | odk/Module_odk.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk index 7a1b490e0c5c..27f0158857a1 100644 --- a/odk/CustomTarget_build-examples.mk +++ b/odk/CustomTarget_build-examples.mk @@ -107,7 +107,7 @@ $(call gb_CustomTarget_get_workdir,odk/build-examples)/setsdkenv: \ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1) sed -e 's!@OO_SDK_NAME@!sdk!' \ -e 's!@OO_SDK_HOME@!$(INSTDIR)/$(SDKDIRNAME)!' \ - -e 's!@OFFICE_HOME@!$(INSTDIR)!' -e 's!@OO_SDK_MAKE_HOME@!!' \ + -e 's!@OFFICE_HOME@!$(INSTROOTBASE)!' -e 's!@OO_SDK_MAKE_HOME@!!' \ -e 's!@OO_SDK_ZIP_HOME@!!' -e 's!@OO_SDK_CAT_HOME@!!' \ -e 's!@OO_SDK_SED_HOME@!!' -e 's!@OO_SDK_CPP_HOME@!!' \ -e 's!@OO_SDK_JAVA_HOME@!$(JAVA_HOME)!' \ diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk index 1d7187e3361a..a72102c9b951 100644 --- a/odk/Module_odk.mk +++ b/odk/Module_odk.mk @@ -56,7 +56,7 @@ $(eval $(call gb_Module_add_check_targets,odk,\ CustomTarget_check \ )) -ifeq ($(OS),LINUX) +ifneq ($(filter $(OS),LINUX MACOSX),) $(eval $(call gb_Module_add_subsequentcheck_targets,odk, \ CustomTarget_build-examples \ )) |