[Libreoffice-commits] core.git: Makefile.in
Michael Stahl
mstahl at redhat.com
Thu Dec 15 14:31:01 UTC 2016
Makefile.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 646b8b69710d046af980016e49f6c5485783f2fb
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Dec 15 14:11:05 2016 +0100
Makefile: try to get gbuild-to-ide running on the internal python3
Or we could just hold our breath until Apple adds python3 to macOS.
Change-Id: I94dd054be8a28490fd86b72092a4389194ca785f
Reviewed-on: https://gerrit.libreoffice.org/32047
Reviewed-by: jan iversen <jani at documentfoundation.org>
Tested-by: jan iversen <jani at documentfoundation.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
diff --git a/Makefile.in b/Makefile.in
index 9b933f8..9b04965 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -405,8 +405,10 @@ dump-deps-sort:
@$(SRCDIR)/bin/module-deps.pl -t $(MAKE) $(SRCDIR)/Makefile.gbuild
define gb_Top_GbuildToIdeIntegration
-$(1)-ide-integration: gbuildtojson
- cd $(SRCDIR) && $(SRCDIR)/bin/gbuild-to-ide --ide $(1) --make $(MAKE)
+$(1)-ide-integration: gbuildtojson $(if $(filter MACOSX,$(OS_FOR_BUILD)),python3.all)
+ cd $(SRCDIR) && \
+ $(if $(filter MACOSX,$(OS_FOR_BUILD)),PATH="$(INSTROOT_FOR_BUILD)/Frameworks/LibreOfficePython.framework/Versions/Current/bin:$(PATH)") \
+ $(SRCDIR)/bin/gbuild-to-ide --ide $(1) --make $(MAKE)
endef
More information about the Libreoffice-commits
mailing list