Kaydet (Commit) 19990a9c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix Windows dev-install for --enable-release-build, --with-lang=... etc.

Introduced special token LIBO_DEV_INSTALL=TRUE to communicate what install set
to build from Makefile.top's dev-install target to
instsetoo_native/util/makefile.mk.  Somewhat arbitrarily, always use a "release"
install set regardless of --enable-release-build (the dev-install set is used
for "make check," and it is safer to test "release" install sets in
--disable-release-build builds than the other way around, should those builds
ever start to deviate significantly).

The "always build a defaul-laguage openoffice product" logic had been obsoleted
a long time ago already.

Change-Id: I64ec87a0b8dc6fe81cab5531c43e29db3f5128af
üst 5ac575ee
...@@ -436,8 +436,8 @@ dev-install: build ...@@ -436,8 +436,8 @@ dev-install: build
@rm -rf $(DEVINSTALLDIR) @rm -rf $(DEVINSTALLDIR)
@mkdir $(DEVINSTALLDIR) @mkdir $(DEVINSTALLDIR)
ifeq ($(OS_FOR_BUILD),WNT) ifeq ($(OS_FOR_BUILD),WNT)
cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl PKGFORMAT=archive cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl LIBO_DEV_INSTALL=TRUE
unzip -q -d "$(DEVINSTALLDIR)" "$(SRCDIR)/instsetoo_native/$(INPATH)/LibreOffice_Dev/archive/install/en-US/LibO*_install-arc_en-US.zip" unzip -q -d "$(DEVINSTALLDIR)" "$(SRCDIR)/instsetoo_native/$(INPATH)/LibreOffice/archive/install/en-US/LibO*_install-arc_en-US.zip"
mv "$(DEVINSTALLDIR)"/LibO*_install-arc_en-US/* "$(DEVINSTALLDIR)"/opt mv "$(DEVINSTALLDIR)"/LibO*_install-arc_en-US/* "$(DEVINSTALLDIR)"/opt
else else
ifeq ($(DISABLE_LINKOO),TRUE) ifeq ($(DISABLE_LINKOO),TRUE)
...@@ -453,8 +453,8 @@ install-tb: ...@@ -453,8 +453,8 @@ install-tb:
@rm -rf $(DEVINSTALLDIR) @rm -rf $(DEVINSTALLDIR)
@mkdir $(DEVINSTALLDIR) @mkdir $(DEVINSTALLDIR)
ifeq ($(OS_FOR_BUILD),WNT) ifeq ($(OS_FOR_BUILD),WNT)
cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl PKGFORMAT=archive cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl LIBO_DEV_INSTALL=TRUE
unzip -q -d "$(DEVINSTALLDIR)" "$(SRCDIR)/instsetoo_native/$(INPATH)/LibreOffice_Dev/archive/install/en-US/LibO*_install-arc_en-US.zip" unzip -q -d "$(DEVINSTALLDIR)" "$(SRCDIR)/instsetoo_native/$(INPATH)/LibreOffice/archive/install/en-US/LibO*_install-arc_en-US.zip"
mv "$(DEVINSTALLDIR)"/LibO*_install-arc_en-US/* "$(DEVINSTALLDIR)"/opt mv "$(DEVINSTALLDIR)"/LibO*_install-arc_en-US/* "$(DEVINSTALLDIR)"/opt
else else
@ooinstall $(DEVINSTALLDIR)/opt @ooinstall $(DEVINSTALLDIR)/opt
......
...@@ -88,6 +88,9 @@ allhelplangiso:=$(foreach,i,$(alllangiso) $(foreach,j,$(help_exist) $(eq,$i,$j ...@@ -88,6 +88,9 @@ allhelplangiso:=$(foreach,i,$(alllangiso) $(foreach,j,$(help_exist) $(eq,$i,$j
xxxx: xxxx:
echo $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product LibreOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml echo $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product LibreOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml
.IF "$(LIBO_DEV_INSTALL)" == "TRUE"
ALLTAR: openoffice_$(defaultlangiso).archive
.ELSE
.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" .IF "$(GUI)"!="WNT" && "$(EPM)"=="NO"
ALLTAR : $(LOCALPYFILES) ALLTAR : $(LOCALPYFILES)
@echo "No EPM: do no packaging at this stage" @echo "No EPM: do no packaging at this stage"
...@@ -122,16 +125,12 @@ ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $( ...@@ -122,16 +125,12 @@ ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(
.ENDIF .ENDIF
.ENDIF # "$(ENABLE_RELEASE_BUILD)"=="TRUE" .ENDIF # "$(ENABLE_RELEASE_BUILD)"=="TRUE"
.ENDIF # "$(GUI)"!="WNT" && "$(EPM)"=="NO" .ENDIF # "$(GUI)"!="WNT" && "$(EPM)"=="NO"
.ENDIF # "$(LIBO_DEV_INSTALL)" == "TRUE"
.IF "$(MAKETARGETS:e)"!="" .IF "$(MAKETARGETS:e)"!=""
PKGFORMAT+=$(MAKETARGETS:e:s/.//) PKGFORMAT+=$(MAKETARGETS:e:s/.//)
.ENDIF # "$(MAKETARGETS:e)"!="" .ENDIF # "$(MAKETARGETS:e)"!=""
# Independent of PKGFORMAT, always build a default-language openoffice product
# also in archive format, so that tests that require an OOo installation (like
# smoketestoo_native) have one available:
openoffice_$(defaultlangiso) : $$@.archive
.IF "$(VERBOSE)"=="TRUE" .IF "$(VERBOSE)"=="TRUE"
VERBOSESWITCH=-verbose VERBOSESWITCH=-verbose
.ENDIF .ENDIF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment