2004-05-24 12:10:47 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-04-10 02:22:52 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
2005-10-13 03:33:47 -05:00
|
|
|
|
2004-05-24 12:10:47 -05:00
|
|
|
PRJ=..
|
2004-11-18 01:18:53 -06:00
|
|
|
PRJNAME=instsetoo_native
|
2004-05-24 12:10:47 -05:00
|
|
|
TARGET=util
|
|
|
|
|
|
|
|
.INCLUDE: settings.mk
|
2007-03-01 08:58:43 -06:00
|
|
|
.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
|
2005-02-18 03:15:05 -06:00
|
|
|
|
2006-10-13 04:37:05 -05:00
|
|
|
# PERL:=@echo
|
|
|
|
|
2008-03-07 08:46:11 -06:00
|
|
|
# watch for the path delimiter
|
|
|
|
.IF "$(GUI)"=="WNT"
|
2005-03-18 03:16:29 -06:00
|
|
|
PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
|
2008-03-07 08:46:11 -06:00
|
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
|
|
PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
|
|
|
|
.ENDIF # "$(GUI)"=="WNT"
|
2005-02-15 11:48:17 -06:00
|
|
|
.EXPORT: PYTHONPATH
|
2005-02-15 05:30:17 -06:00
|
|
|
|
2011-08-31 03:33:48 -05:00
|
|
|
.IF "$(OS)$(COM)" == "WNTGCC"
|
|
|
|
# i.e. cross-compiling
|
|
|
|
FORCE2ARCHIVE=TRUE
|
|
|
|
.ENDIF
|
|
|
|
|
2006-07-13 09:15:45 -05:00
|
|
|
ENABLE_DOWNLOADSETS*=TRUE
|
|
|
|
|
|
|
|
.EXPORT: ENABLE_DOWNLOADSETS
|
2004-07-06 09:06:39 -05:00
|
|
|
.EXPORT: LAST_MINOR
|
2004-11-18 01:18:53 -06:00
|
|
|
.EXPORT: PRJ
|
|
|
|
.EXPORT: PRJNAME
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-07-29 05:31:20 -05:00
|
|
|
.IF "$(OS)"=="LINUX"
|
2005-07-29 05:28:34 -05:00
|
|
|
DONT_REMOVE_PACKAGE:=TRUE
|
|
|
|
.EXPORT: DONT_REMOVE_PACKAGE
|
2007-08-03 05:23:21 -05:00
|
|
|
.ENDIF # "$(OS)"=="LINUX"
|
2005-07-29 05:28:34 -05:00
|
|
|
|
2004-12-10 10:03:50 -06:00
|
|
|
.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
|
|
|
|
|
2004-05-24 12:10:47 -05:00
|
|
|
SHARED_COM_SDK_PATH*:=.
|
|
|
|
|
|
|
|
INSTALLDIR=$(OUT)
|
|
|
|
|
|
|
|
.INCLUDE: target.mk
|
|
|
|
|
2011-03-13 10:07:50 -05:00
|
|
|
.IF "$(DISABLE_PYTHON)" != "TRUE"
|
2005-02-15 11:48:17 -06:00
|
|
|
LOCALPYFILES= \
|
|
|
|
$(BIN)$/uno.py \
|
|
|
|
$(BIN)$/unohelper.py \
|
2011-02-19 00:58:00 -06:00
|
|
|
$(BIN)$/pythonloader.py \
|
2006-03-22 03:55:10 -06:00
|
|
|
$(BIN)$/officehelper.py \
|
2011-05-06 08:38:48 -05:00
|
|
|
$(BIN)$/mailmerge.py \
|
|
|
|
$(BIN)$/msgbox.py
|
2011-03-13 10:07:50 -05:00
|
|
|
.ENDIF
|
2005-02-15 11:48:17 -06:00
|
|
|
|
2011-09-16 15:34:19 -05:00
|
|
|
help_exist:=$(shell @find $(L10N_MODULE)/source/ -type d -name "helpcontent2" 2>/dev/null | sed -e "s|/helpcontent2||" -e "s|^.*/||" ) en-US qtz
|
|
|
|
|
|
|
|
# do not build key is pseudolanguage for release builds
|
|
|
|
.IF "$(ENABLE_RELEASE_BUILD)"=="TRUE"
|
|
|
|
alllangiso:=$(alllangiso:s/qtz//)
|
|
|
|
.ENDIF
|
2011-04-29 01:09:29 -05:00
|
|
|
|
|
|
|
allhelplangiso:=$(foreach,i,$(alllangiso) $(foreach,j,$(help_exist) $(eq,$i,$j $i $(NULL))))
|
|
|
|
|
2009-03-24 09:11:39 -05:00
|
|
|
xxxx:
|
2010-10-06 16:03:36 -05:00
|
|
|
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
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2011-08-31 03:33:48 -05:00
|
|
|
.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO"
|
2009-10-09 08:59:32 -05:00
|
|
|
ALLTAR : $(LOCALPYFILES)
|
2005-02-25 02:48:42 -06:00
|
|
|
@echo "No EPM: do no packaging at this stage"
|
2011-07-01 06:59:06 -05:00
|
|
|
.ELSE # "$(GUI)"!="WNT" && "$(EPM)"=="NO"
|
2011-04-29 16:33:26 -05:00
|
|
|
.IF "$(ENABLE_RELEASE_BUILD)"=="TRUE"
|
2006-07-10 12:59:28 -05:00
|
|
|
.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
|
2011-07-01 08:39:42 -05:00
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
ALLTAR : openofficeall ooohelppack
|
|
|
|
.ELSE
|
2011-01-24 11:31:58 -06:00
|
|
|
ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) ooohelppack)
|
2011-07-01 08:39:42 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
ALLTAR : openofficeall ooohelppack sdkooall
|
2006-03-22 04:02:24 -06:00
|
|
|
.ELSE
|
2011-01-24 11:31:58 -06:00
|
|
|
ALLTAR : openoffice_$(defaultlangiso) ooolanguagepack $(eq,$(OS),MACOSX $(NULL) ooohelppack) sdkoo_en-US ure_en-US
|
2006-03-22 04:02:24 -06:00
|
|
|
.ENDIF
|
2011-07-01 08:39:42 -05:00
|
|
|
.ENDIF
|
2011-09-16 15:35:11 -05:00
|
|
|
.ELSE # "$(ENABLE_RELEASE_BUILD)"=="TRUE"
|
2011-04-29 16:33:26 -05:00
|
|
|
.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
|
2011-09-16 15:35:11 -05:00
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
ALLTAR : openofficedevall ooodevhelppack
|
|
|
|
.ELSE
|
2011-04-29 16:33:26 -05:00
|
|
|
ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(NULL) ooodevhelppack)
|
2011-09-16 15:35:11 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
|
|
|
.IF "$(GUI)"=="WNT"
|
2011-09-18 03:17:30 -05:00
|
|
|
ALLTAR : openofficedevall ooodevhelppack sdkoodevall
|
2011-04-29 16:33:26 -05:00
|
|
|
.ELSE
|
|
|
|
ALLTAR : openofficedev_$(defaultlangiso) ooodevlanguagepack $(eq,$(OS),MACOSX $(NULL) ooodevhelppack) sdkoodev_en-US ure_en-US
|
|
|
|
.ENDIF
|
2011-09-16 15:35:11 -05:00
|
|
|
.ENDIF
|
2011-04-29 16:33:26 -05:00
|
|
|
.ENDIF # "$(ENABLE_RELEASE_BUILD)"=="TRUE"
|
2011-07-01 06:59:06 -05:00
|
|
|
.ENDIF # "$(GUI)"!="WNT" && "$(EPM)"=="NO"
|
2004-07-29 10:36:31 -05:00
|
|
|
|
2010-01-08 10:55:52 -06:00
|
|
|
.IF "$(FORCE2ARCHIVE)" == "TRUE"
|
|
|
|
PKGFORMAT = archive
|
|
|
|
.END
|
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(MAKETARGETS:e)"!=""
|
|
|
|
PKGFORMAT+=$(MAKETARGETS:e:s/.//)
|
|
|
|
.ENDIF # "$(MAKETARGETS:e)"!=""
|
|
|
|
|
2009-12-18 09:07:38 -06:00
|
|
|
# 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
|
2005-04-20 05:39:06 -05:00
|
|
|
|
2008-06-06 06:07:29 -05:00
|
|
|
.IF "$(VERBOSE)"=="TRUE"
|
|
|
|
VERBOSESWITCH=-verbose
|
|
|
|
.ENDIF
|
|
|
|
.IF "$(VERBOSE)"=="FALSE"
|
|
|
|
VERBOSESWITCH=-quiet
|
|
|
|
.ENDIF
|
|
|
|
|
2004-07-29 10:36:31 -05:00
|
|
|
updatepack:
|
2007-01-25 09:02:30 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/packager.pl
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.IF "$(alllangiso)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-07-11 09:37:26 -05:00
|
|
|
openoffice: $(foreach,i,$(alllangiso) openoffice_$i)
|
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
openofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
|
|
|
|
|
2005-08-05 08:01:21 -05:00
|
|
|
openofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
|
|
|
|
|
|
|
|
ooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
|
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
ooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
ooohelppack : $(foreach,i,$(allhelplangiso) ooohelppack_$i)
|
2010-12-13 14:08:13 -06:00
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
ooodevhelppack: $(foreach,i,$(allhelplangiso) ooodevhelppack_$i)
|
2010-12-13 14:08:13 -06:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
|
|
|
|
|
2009-07-28 05:56:08 -05:00
|
|
|
sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
|
|
|
|
|
2007-08-20 09:32:56 -05:00
|
|
|
ure: $(foreach,i,$(alllangiso) ure_$i)
|
|
|
|
|
2011-03-07 00:14:00 -06:00
|
|
|
oxygenoffice: $(foreach,i,$(alllangiso) oxygenoffice_$i)
|
|
|
|
|
|
|
|
oxygenofficewithjre: $(foreach,i,$(alllangiso) oxygenofficewithjre_$i)
|
|
|
|
|
|
|
|
oxygenofficelanguagepack : $(foreach,i,$(alllangiso) oxygenofficelanguagepack_$i)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
oxygenofficehelppack : $(foreach,i,$(allhelplangiso) oxygenofficehelppack_$i)
|
2011-03-07 00:14:00 -06:00
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
|
|
|
|
MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
|
2010-12-13 14:08:13 -06:00
|
|
|
MSIHELPPACKTEMPLATESOURCE=$(PRJ)$/inc_ooohelppack$/windows$/msi_templates
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
|
2006-09-15 08:38:43 -05:00
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
.IF "$(BUILD_SPECIAL)"!=""
|
|
|
|
MSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
|
|
|
|
MSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
|
2010-12-13 14:08:13 -06:00
|
|
|
MSIHELPPACKTEMPLATEDIR=$(MSIHELPPACKTEMPLATESOURCE)
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
|
2005-05-03 09:03:31 -05:00
|
|
|
.ELSE # "$(BUILD_SPECIAL)"!=""
|
2007-06-11 07:59:00 -05:00
|
|
|
NOLOGOSPLASH:=$(BIN)$/intro.zip
|
|
|
|
DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
|
2005-05-03 09:03:31 -05:00
|
|
|
MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
|
|
|
|
MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
|
2010-12-13 14:08:13 -06:00
|
|
|
MSIHELPPACKTEMPLATEDIR=$(MISC)$/ooohelppack$/msi_templates
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
|
2006-09-15 08:38:43 -05:00
|
|
|
|
2010-10-12 07:14:36 -05:00
|
|
|
ADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
|
2007-01-03 03:13:53 -06:00
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
ADDDEPS+=hack_msitemplates
|
|
|
|
.ENDIF
|
2005-05-03 09:03:31 -05:00
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i) : $(ADDDEPS)
|
2010-06-25 05:25:28 -05:00
|
|
|
openoffice_$(defaultlangiso).archive : $(ADDDEPS)
|
2005-06-17 08:10:41 -05:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) openofficedev_$i) : $(ADDDEPS)
|
|
|
|
|
2005-06-17 08:10:41 -05:00
|
|
|
$(foreach,i,$(alllangiso) openofficewithjre_$i) : $(ADDDEPS)
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $(ADDDEPS)
|
2005-08-30 02:52:51 -05:00
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $(ADDDEPS)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) ooohelppack_$i) : $(ADDDEPS)
|
2010-12-13 14:08:13 -06:00
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) ooodevhelppack_$i) : $(ADDDEPS)
|
2010-12-13 14:08:13 -06:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS)
|
2009-07-28 05:56:08 -05:00
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) sdkoodev_$i) : $(ADDDEPS)
|
2011-01-10 05:30:01 -06:00
|
|
|
|
2005-09-26 07:17:39 -05:00
|
|
|
$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
|
|
|
|
|
2011-03-07 00:14:00 -06:00
|
|
|
$(foreach,i,$(alllangiso) oxygenoffice_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) oxygenofficewithjre_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) oxygenofficelanguagepack_$i) : $(ADDDEPS)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) oxygenofficehelppack_$i) : $(ADDDEPS)
|
2011-03-07 00:14:00 -06:00
|
|
|
|
2005-08-30 02:52:51 -05:00
|
|
|
.IF "$(MAKETARGETS)"!=""
|
|
|
|
$(MAKETARGETS) : $(ADDDEPS)
|
|
|
|
.ENDIF # "$(MAKETARGETS)"!=""
|
2005-09-26 07:17:39 -05:00
|
|
|
|
2005-08-05 08:01:21 -05:00
|
|
|
.ENDIF # "$(BUILD_SPECIAL)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
|
2010-01-08 10:55:52 -06:00
|
|
|
.IF "$(MAKETARGETS)"!=""
|
2008-07-30 06:49:51 -05:00
|
|
|
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
|
2005-08-30 02:52:51 -05:00
|
|
|
$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
|
2008-07-30 06:49:51 -05:00
|
|
|
.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
|
2010-01-08 10:55:52 -06:00
|
|
|
.ENDIF # "$(MAKETARGETS)"!=""
|
2009-12-18 09:07:38 -06:00
|
|
|
openoffice_%{$(PKGFORMAT:^".") .archive} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2010-10-07 03:44:48 -05:00
|
|
|
$(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 > $(MISC)/`date +%Y%m%d_%H%M`_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2004-09-08 09:00:25 -05:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
openofficewithjre_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2005-06-17 08:10:41 -05:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
openofficedev_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2010-10-07 03:44:48 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product LibreOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/`date +%Y%m%d_%H%M`_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2005-11-09 02:46:45 -06:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ooolanguagepack_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2007-11-02 08:18:12 -05:00
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) ooohelppack_$i) : $$@{$(PKGFORMAT:^".")}
|
2010-12-13 14:08:13 -06:00
|
|
|
ooohelppack_%{$(PKGFORMAT:^".")} :
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIHELPPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -helppack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) ooodevhelppack_$i) : $$@{$(PKGFORMAT:^".")}
|
2010-12-13 14:08:13 -06:00
|
|
|
ooodevhelppack_%{$(PKGFORMAT:^".")} :
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIHELPPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -helppack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
sdkoo_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2009-07-28 05:56:08 -05:00
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
sdkoodev_%{$(PKGFORMAT:^".")} :
|
2010-10-06 16:03:36 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p LibreOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
|
2005-11-09 02:46:45 -06:00
|
|
|
|
2007-08-20 09:32:56 -05:00
|
|
|
$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ure_%{$(PKGFORMAT:^".")} :
|
2008-03-18 06:48:31 -05:00
|
|
|
.IF "$(OS)" == "MACOSX"
|
|
|
|
@echo 'for now, there is no standalone URE for Mac OS X'
|
|
|
|
.ELSE
|
2007-08-20 09:32:56 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst \
|
2010-01-08 10:55:52 -06:00
|
|
|
-l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) -format $(@:e:s/.//) $(VERBOSESWITCH) \
|
2007-08-20 09:32:56 -05:00
|
|
|
-msitemplate $(MSIURETEMPLATEDIR) \
|
|
|
|
-msilanguage $(COMMONMISC)$/win_ulffiles
|
2008-03-18 06:48:31 -05:00
|
|
|
.ENDIF
|
2007-08-20 09:32:56 -05:00
|
|
|
|
2011-03-07 00:14:00 -06:00
|
|
|
$(foreach,i,$(alllangiso) oxygenoffice_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
.IF "$(MAKETARGETS)"!=""
|
|
|
|
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
|
|
|
|
$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
|
|
|
|
.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
|
|
|
|
.ENDIF # "$(MAKETARGETS)"!=""
|
|
|
|
oxygenoffice_%{$(PKGFORMAT:^".") .archive} :
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OxygenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OxygenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/`date +%Y%m%d_%H%M`_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) oxygenofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
oxygenofficewithjre_%{$(PKGFORMAT:^".")} :
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OxygenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) oxygenofficelanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
2011-03-08 06:56:55 -06:00
|
|
|
oxygenofficelanguagepack_%{$(PKGFORMAT:^".")} :
|
2011-03-07 00:14:00 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OxygenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
|
2011-04-29 01:09:29 -05:00
|
|
|
$(foreach,i,$(allhelplangiso) oxygenofficehelppack_$i) : $$@{$(PKGFORMAT:^".")}
|
2011-03-08 06:56:55 -06:00
|
|
|
oxygenofficehelppack_%{$(PKGFORMAT:^".")} :
|
2011-03-07 00:14:00 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OxygenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIHELPPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -helppack -format $(@:e:s/.//) $(VERBOSESWITCH)
|
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.ELSE # "$(alllangiso)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
openoffice:
|
2011-04-29 01:09:29 -05:00
|
|
|
@echo cannot pack anything...
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.ENDIF # "$(alllangiso)"!=""
|
2005-02-15 11:48:17 -06:00
|
|
|
|
2011-03-13 10:07:50 -05:00
|
|
|
.IF "$(DISABLE_PYTHON)" != "TRUE"
|
2005-02-15 11:48:17 -06:00
|
|
|
.IF "$(LOCALPYFILES)"!=""
|
2011-04-26 04:47:14 -05:00
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")} oxygenoffice_$i{$(PKGFORMAT:^".") .archive} oxygenofficewithjre_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES)
|
2005-02-15 11:48:17 -06:00
|
|
|
.ENDIF # "$(LOCALPYFILES)"!=""
|
|
|
|
|
2011-08-24 05:16:24 -05:00
|
|
|
.IF "$(GUI)"!="WNT"
|
|
|
|
$(BIN)$/%.py : $(OUTDIR)$/lib$/pyuno$/%.py
|
|
|
|
$(COPY) $< $@
|
|
|
|
.ELSE
|
2011-08-24 02:23:02 -05:00
|
|
|
$(BIN)$/%.py : $(OUTDIR)$/bin$/pyuno$/%.py
|
|
|
|
$(COPY) $< $@
|
2011-08-24 05:16:24 -05:00
|
|
|
.ENDIF
|
2011-03-13 10:07:50 -05:00
|
|
|
.ENDIF # "$(DISABLE_PYTHON)" != "TRUE"
|
2005-05-03 09:03:31 -05:00
|
|
|
|
2011-03-22 11:55:39 -05:00
|
|
|
$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
|
2007-06-11 07:59:00 -05:00
|
|
|
$(COPY) $< $@
|
|
|
|
|
2010-10-12 07:14:36 -05:00
|
|
|
$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/brand_dev$/intro.zip
|
2007-06-11 07:59:00 -05:00
|
|
|
@-$(MKDIR) $(@:d)
|
2007-01-25 09:02:30 -06:00
|
|
|
$(COPY) $< $@
|
2005-05-03 09:03:31 -05:00
|
|
|
|
|
|
|
hack_msitemplates .PHONY:
|
2007-01-25 09:02:30 -06:00
|
|
|
-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)
|
2010-12-13 14:08:13 -06:00
|
|
|
-$(MKDIRHIER) $(MSIHELPPACKTEMPLATEDIR)
|
2007-01-25 09:02:30 -06:00
|
|
|
-$(MKDIRHIER) $(MSIURETEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)
|
2009-05-28 11:03:55 -05:00
|
|
|
-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)$/Binary
|
|
|
|
-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)$/Binary
|
2010-12-13 14:08:13 -06:00
|
|
|
-$(MKDIRHIER) $(MSIHELPPACKTEMPLATEDIR)$/Binary
|
2009-05-28 11:03:55 -05:00
|
|
|
-$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary
|
|
|
|
-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)$/Binary
|
|
|
|
$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/*.* $(MSIOFFICETEMPLATEDIR)
|
|
|
|
$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/*.* $(MSILANGPACKTEMPLATEDIR)
|
2010-12-13 14:08:13 -06:00
|
|
|
$(GNUCOPY) -u $(MSIHELPPACKTEMPLATESOURCE)$/*.* $(MSIHELPPACKTEMPLATEDIR)
|
2009-05-28 11:03:55 -05:00
|
|
|
$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/*.* $(MSIURETEMPLATEDIR)
|
|
|
|
$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/*.* $(MSISDKOOTEMPLATEDIR)
|
|
|
|
$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/Binary$/*.* $(MSIOFFICETEMPLATEDIR)$/Binary
|
|
|
|
$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/Binary$/*.* $(MSILANGPACKTEMPLATEDIR)$/Binary
|
2010-12-13 14:08:13 -06:00
|
|
|
$(GNUCOPY) -u $(MSIHELPPACKTEMPLATESOURCE)$/Binary$/*.* $(MSIHELPPACKTEMPLATEDIR)$/Binary
|
2009-05-28 11:03:55 -05:00
|
|
|
$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary
|
|
|
|
$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/Binary$/*.* $(MSISDKOOTEMPLATEDIR)$/Binary
|
2007-01-25 09:02:30 -06:00
|
|
|
$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
2010-12-13 14:08:13 -06:00
|
|
|
$(RM) $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
2007-01-25 09:02:30 -06:00
|
|
|
$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
|
2011-01-10 05:30:01 -06:00
|
|
|
$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(RM) $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Banner.bmp
|
2007-01-25 09:02:30 -06:00
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
2010-12-13 14:08:13 -06:00
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
2007-01-25 09:02:30 -06:00
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
|
2011-01-10 05:30:01 -06:00
|
|
|
$(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIHELPPACKTEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSIURETEMPLATEDIR)$/Binary$/Banner.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologobanner.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Banner.bmp
|
2005-05-03 09:03:31 -05:00
|
|
|
|
2010-10-07 07:19:02 -05:00
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
|
|
|
|
ALLLANGSTRING:=$(alllangiso)
|
|
|
|
|
|
|
|
openofficeall: hack_msitemplates $(LOCALPYFILES) openoffice_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".")
|
|
|
|
|
|
|
|
openofficedevall: hack_msitemplates $(LOCALPYFILES) openofficedev_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".")
|
|
|
|
|
2011-02-14 05:30:07 -06:00
|
|
|
sdkooall: hack_msitemplates $(LOCALPYFILES) sdkoo_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".")
|
|
|
|
|
|
|
|
sdkoodevall: hack_msitemplates $(LOCALPYFILES) sdkoodev_$(ALLLANGSTRING:s/ /,/)$(PKGFORMAT:^".")
|
|
|
|
|
2010-10-07 07:19:02 -05:00
|
|
|
.ENDIF # "$(OS)" == "WNT"
|
2006-09-15 08:38:43 -05:00
|
|
|
|