diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-11-16 14:28:55 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-11-16 23:32:20 +0100 |
commit | e514f1a462f5fe2d1ef2d58fa3a0ef94892c41fb (patch) | |
tree | 42a56eb53cd74a522de6d2d65e8cb1a863740101 /instsetoo_native | |
parent | d343a2b6393aec2eba0d25d7f4f390f12d1515f6 (diff) |
fix --enable-wix switch - that didn't do anything
it used the wrong variable name in AC_SUBST and also had no place where
it would be set for the rest of the build to use.
Also the script hardcodes the location of the WiX Toolkit, so check for
the same path in configure.
Also it was needlessly tied to LIBO_TEST_INSTALL - since it has its own
conditional, "double-guarding" it is not necessary.
Change-Id: I6dd4a41e63d2a43a3e2f1aac5b6799a6601eb656
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159510
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'instsetoo_native')
-rw-r--r-- | instsetoo_native/CustomTarget_install.mk | 4 | ||||
-rw-r--r-- | instsetoo_native/Module_instsetoo_native.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk index aa18e827fda9..04ae89c565d8 100644 --- a/instsetoo_native/CustomTarget_install.mk +++ b/instsetoo_native/CustomTarget_install.mk @@ -59,7 +59,7 @@ endif # delimiter is U+2027 Hyphenation point - files with colon in their name confuse the heck out of # make and cannot be used as targets or prerequisites. For passing to call_installer.sh it is # substituted by the : so that cut doesn't stumble over the delimiter -ifeq (TRUE,$(LIBO_TEST_INSTALL)) +ifeq (TRUE,$(filter TRUE,$(LIBO_TEST_INSTALL) $(ENABLE_WIX)) instsetoo_installer_targets = openoffice‧en-US‧‧‧archive‧nostrip ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) instsetoo_installer_targets += sdkoo‧en-US‧_SDK‧‧archive‧nostrip @@ -129,8 +129,8 @@ $(instsetoo_installer_targets): $(SRCDIR)/solenv/bin/make_installer.pl \ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: $(instsetoo_installer_targets) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) -ifeq (TRUE,$(LIBO_TEST_INSTALL)) $(if $(ENABLE_WIX),$(call gb_ExternalExecutable_get_command,python) $(SRCDIR)/msicreator/create_installer.py $(BUILDDIR) $(SRCDIR) $(LIBO_VERSION) $(PRODUCTNAME_WITHOUT_SPACES)) +ifeq (TRUE,$(LIBO_TEST_INSTALL)) unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_WITHOUT_SPACES)/archive/install/en-US/LibreOffice*_archive.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice* diff --git a/instsetoo_native/Module_instsetoo_native.mk b/instsetoo_native/Module_instsetoo_native.mk index cde68596b7f8..9ba7bd8b8182 100644 --- a/instsetoo_native/Module_instsetoo_native.mk +++ b/instsetoo_native/Module_instsetoo_native.mk @@ -9,7 +9,7 @@ $(eval $(call gb_Module_Module,instsetoo_native)) -ifneq (,$(PKGFORMAT)$(filter TRUE,$(LIBO_TEST_INSTALL))) +ifneq (,$(PKGFORMAT)$(filter TRUE,$(LIBO_TEST_INSTALL) $(ENABLE_WIX))) $(eval $(call gb_Module_add_targets,instsetoo_native,\ CustomTarget_install \ |