1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#*************************************************************************
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJ=..
29cdf0e10cSrcweirPRJNAME=instsetoo_native
30cdf0e10cSrcweirTARGET=util
31cdf0e10cSrcweir
32cdf0e10cSrcweir.INCLUDE:  settings.mk
33cdf0e10cSrcweir.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
34cdf0e10cSrcweir
35cdf0e10cSrcweir# PERL:=@echo
36cdf0e10cSrcweir
37cdf0e10cSrcweir# watch for the path delimiter
38cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
39cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
40cdf0e10cSrcweir.ELSE			# "$(GUI)"=="WNT"
41cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
42cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="WNT"
43cdf0e10cSrcweir.EXPORT: PYTHONPATH
44cdf0e10cSrcweir
45cdf0e10cSrcweir.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
46cdf0e10cSrcweirENABLE_DOWNLOADSETS*=TRUE
47cdf0e10cSrcweir.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
48cdf0e10cSrcweir.IF "$(FORCE_DOWNLOADSETS)"!=""
49cdf0e10cSrcweirENABLE_DOWNLOADSETS=TRUE
50cdf0e10cSrcweir.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
51cdf0e10cSrcweir
52cdf0e10cSrcweir.EXPORT: ENABLE_DOWNLOADSETS
53cdf0e10cSrcweir.EXPORT: LAST_MINOR
54cdf0e10cSrcweir.EXPORT: PRJ
55cdf0e10cSrcweir.EXPORT: PRJNAME
56cdf0e10cSrcweir
57cdf0e10cSrcweir.IF "$(OS)"=="LINUX"
58cdf0e10cSrcweirDONT_REMOVE_PACKAGE:=TRUE
59cdf0e10cSrcweir.EXPORT: DONT_REMOVE_PACKAGE
60cdf0e10cSrcweir.ENDIF          # "$(OS)"=="LINUX"
61cdf0e10cSrcweir
62cdf0e10cSrcweir.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
63cdf0e10cSrcweir
64cdf0e10cSrcweirSHARED_COM_SDK_PATH*:=.
65cdf0e10cSrcweir
66cdf0e10cSrcweirINSTALLDIR=$(OUT)
67cdf0e10cSrcweir
68cdf0e10cSrcweir.INCLUDE: target.mk
69cdf0e10cSrcweir
70cdf0e10cSrcweirLOCALPYFILES= \
71cdf0e10cSrcweir    $(BIN)$/uno.py \
72cdf0e10cSrcweir	$(BIN)$/unohelper.py \
73cdf0e10cSrcweir	$(BIN)$/pythonloader.py \
74cdf0e10cSrcweir	$(BIN)$/pythonscript.py \
75cdf0e10cSrcweir	$(BIN)$/officehelper.py \
76cdf0e10cSrcweir	$(BIN)$/mailmerge.py
77cdf0e10cSrcweir
78cdf0e10cSrcweirxxxx:
79cdf0e10cSrcweir    echo $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml
80cdf0e10cSrcweir
81cdf0e10cSrcweir.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
82cdf0e10cSrcweirALLTAR  : $(LOCALPYFILES)
83cdf0e10cSrcweir	@echo "No EPM: do no packaging at this stage"
84cdf0e10cSrcweir.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
85cdf0e10cSrcweir.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
86cdf0e10cSrcweir.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
87cdf0e10cSrcweirALLTAR : openoffice
88cdf0e10cSrcweir.ELSE
89cdf0e10cSrcweirALLTAR : openoffice sdkoo_en-US ure_en-US
90cdf0e10cSrcweir.ENDIF
91cdf0e10cSrcweir.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
92cdf0e10cSrcweirALLTAR : updatepack
93cdf0e10cSrcweir.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
94cdf0e10cSrcweir.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
95cdf0e10cSrcweir
96cdf0e10cSrcweir.IF "$(FORCE2ARCHIVE)" == "TRUE"
97cdf0e10cSrcweirPKGFORMAT = archive
98cdf0e10cSrcweir.END
99cdf0e10cSrcweir
100cdf0e10cSrcweir.IF "$(MAKETARGETS:e)"!=""
101cdf0e10cSrcweirPKGFORMAT+=$(MAKETARGETS:e:s/.//)
102cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS:e)"!=""
103cdf0e10cSrcweir
104cdf0e10cSrcweir# Independent of PKGFORMAT, always build a default-language openoffice product
105cdf0e10cSrcweir# also in archive format, so that tests that require an OOo installation (like
106cdf0e10cSrcweir# smoketestoo_native) have one available:
107cdf0e10cSrcweiropenoffice_$(defaultlangiso) : $$@.archive
108cdf0e10cSrcweir
109cdf0e10cSrcweir.IF "$(VERBOSE)"=="TRUE"
110cdf0e10cSrcweirVERBOSESWITCH=-verbose
111cdf0e10cSrcweir.ENDIF
112cdf0e10cSrcweir.IF "$(VERBOSE)"=="FALSE"
113cdf0e10cSrcweirVERBOSESWITCH=-quiet
114cdf0e10cSrcweir.ENDIF
115cdf0e10cSrcweir
116cdf0e10cSrcweirupdatepack:
117cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/packager.pl
118cdf0e10cSrcweir
119cdf0e10cSrcweir.IF "$(alllangiso)"!=""
120cdf0e10cSrcweir
121cdf0e10cSrcweiropenoffice: $(foreach,i,$(alllangiso) openoffice_$i)
122cdf0e10cSrcweir
123cdf0e10cSrcweiropenofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
124cdf0e10cSrcweir
125cdf0e10cSrcweiropenofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
126cdf0e10cSrcweir
127cdf0e10cSrcweirooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
128cdf0e10cSrcweir
129cdf0e10cSrcweirooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
130cdf0e10cSrcweir
131cdf0e10cSrcweirsdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
132cdf0e10cSrcweir
133cdf0e10cSrcweirsdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
134cdf0e10cSrcweir
135cdf0e10cSrcweirure: $(foreach,i,$(alllangiso) ure_$i)
136cdf0e10cSrcweir
137cdf0e10cSrcweirMSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
138cdf0e10cSrcweirMSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
139cdf0e10cSrcweirMSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
140cdf0e10cSrcweirMSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
141cdf0e10cSrcweir
142cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)"!=""
143cdf0e10cSrcweirMSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
144cdf0e10cSrcweirMSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
145cdf0e10cSrcweirMSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
146cdf0e10cSrcweirMSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
147cdf0e10cSrcweir.ELSE			# "$(BUILD_SPECIAL)"!=""
148cdf0e10cSrcweirNOLOGOSPLASH:=$(BIN)$/intro.zip
149cdf0e10cSrcweirDEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
150cdf0e10cSrcweirMSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
151cdf0e10cSrcweirMSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
152cdf0e10cSrcweirMSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
153cdf0e10cSrcweirMSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
154cdf0e10cSrcweir
155451f97f9SPedro GiffuniADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
156451f97f9SPedro Giffuni
157cdf0e10cSrcweir.IF "$(OS)" == "WNT"
158cdf0e10cSrcweirADDDEPS+=hack_msitemplates
159cdf0e10cSrcweir.ENDIF
160cdf0e10cSrcweir
161cdf0e10cSrcweir$(foreach,i,$(alllangiso) openoffice_$i) : $(ADDDEPS)
162cdf0e10cSrcweiropenoffice_$(defaultlangiso).archive : $(ADDDEPS)
163cdf0e10cSrcweir
164cdf0e10cSrcweir$(foreach,i,$(alllangiso) openofficedev_$i) : $(ADDDEPS)
165cdf0e10cSrcweir
166cdf0e10cSrcweir$(foreach,i,$(alllangiso) openofficewithjre_$i) : $(ADDDEPS)
167cdf0e10cSrcweir
168cdf0e10cSrcweir$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $(ADDDEPS)
169cdf0e10cSrcweir
170cdf0e10cSrcweir$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $(ADDDEPS)
171cdf0e10cSrcweir
172cdf0e10cSrcweir$(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS)
173cdf0e10cSrcweir
174cdf0e10cSrcweir$(foreach,i,$(alllangiso) sdkoodev_$i) : $(ADDDEPS)
175cdf0e10cSrcweir
176cdf0e10cSrcweir$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
177cdf0e10cSrcweir
178cdf0e10cSrcweir.IF "$(MAKETARGETS)"!=""
179cdf0e10cSrcweir$(MAKETARGETS) : $(ADDDEPS)
180cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS)"!=""
181cdf0e10cSrcweir
182cdf0e10cSrcweir.ENDIF			# "$(BUILD_SPECIAL)"!=""
183cdf0e10cSrcweir
184cdf0e10cSrcweir$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
185cdf0e10cSrcweir.IF "$(MAKETARGETS)"!=""
186cdf0e10cSrcweir.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
187cdf0e10cSrcweir$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
188cdf0e10cSrcweir$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
189cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
190cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS)"!=""
191cdf0e10cSrcweiropenoffice_%{$(PKGFORMAT:^".") .archive} :
192cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
193cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
194cdf0e10cSrcweir
195cdf0e10cSrcweir$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
196cdf0e10cSrcweiropenofficewithjre_%{$(PKGFORMAT:^".")} :
197cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
198cdf0e10cSrcweir
199cdf0e10cSrcweir$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
200cdf0e10cSrcweiropenofficedev_%{$(PKGFORMAT:^".")} :
201cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
202cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
203cdf0e10cSrcweir
204cdf0e10cSrcweir$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
205cdf0e10cSrcweirooolanguagepack_%{$(PKGFORMAT:^".")} :
206cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
207cdf0e10cSrcweir
208cdf0e10cSrcweir$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
209cdf0e10cSrcweirooodevlanguagepack_%{$(PKGFORMAT:^".")} :
210cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
211cdf0e10cSrcweir
212cdf0e10cSrcweir$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
213cdf0e10cSrcweirsdkoo_%{$(PKGFORMAT:^".")} :
214cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
215cdf0e10cSrcweir
216cdf0e10cSrcweir$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
217cdf0e10cSrcweirsdkoodev_%{$(PKGFORMAT:^".")} :
218cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
219cdf0e10cSrcweir
220cdf0e10cSrcweir$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
221cdf0e10cSrcweirure_%{$(PKGFORMAT:^".")} :
222cdf0e10cSrcweir.IF "$(OS)" == "MACOSX"
223cdf0e10cSrcweir    @echo 'for now, there is no standalone URE for Mac OS X'
224cdf0e10cSrcweir.ELSE
225cdf0e10cSrcweir    $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst \
226cdf0e10cSrcweir        -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) -format $(@:e:s/.//) $(VERBOSESWITCH) \
227cdf0e10cSrcweir        -msitemplate $(MSIURETEMPLATEDIR) \
228cdf0e10cSrcweir        -msilanguage $(MISC)$/win_ulffiles
229cdf0e10cSrcweir.ENDIF
230cdf0e10cSrcweir
231cdf0e10cSrcweir.IF "$(MAKETARGETS)"!=""
232cdf0e10cSrcweir.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
233cdf0e10cSrcweir$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
234cdf0e10cSrcweir$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
235cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
236cdf0e10cSrcweir.ENDIF			# "$(MAKETARGETS)"!=""
237cdf0e10cSrcweir
238cdf0e10cSrcweir.ELSE			# "$(alllangiso)"!=""
239cdf0e10cSrcweiropenoffice:
240cdf0e10cSrcweir	@echo cannot pack nothing...
241cdf0e10cSrcweir
242cdf0e10cSrcweir.ENDIF			# "$(alllangiso)"!=""
243cdf0e10cSrcweir
244cdf0e10cSrcweir.IF "$(LOCALPYFILES)"!=""
245*ee75e844SJürgen Schmidt$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES)
246cdf0e10cSrcweir.ENDIF			# "$(LOCALPYFILES)"!=""
247cdf0e10cSrcweir
248cdf0e10cSrcweir$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
249cdf0e10cSrcweir	@$(COPY) $< $@
250cdf0e10cSrcweir
251cdf0e10cSrcweir$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_nologo$/intro.zip
252cdf0e10cSrcweir	$(COPY) $< $@
253cdf0e10cSrcweir
254cdf0e10cSrcweir$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev_nologo$/intro.zip
255cdf0e10cSrcweir	@-$(MKDIR) $(@:d)
256cdf0e10cSrcweir	$(COPY) $< $@
257cdf0e10cSrcweir
258cdf0e10cSrcweirhack_msitemplates .PHONY:
259cdf0e10cSrcweir	-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)
260cdf0e10cSrcweir	-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)
261cdf0e10cSrcweir	-$(MKDIRHIER) $(MSIURETEMPLATEDIR)
262cdf0e10cSrcweir	-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)
263cdf0e10cSrcweir	-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)$/Binary
264cdf0e10cSrcweir	-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)$/Binary
265cdf0e10cSrcweir	-$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary
266cdf0e10cSrcweir	-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)$/Binary
267cdf0e10cSrcweir	$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/*.* $(MSIOFFICETEMPLATEDIR)
268cdf0e10cSrcweir	$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/*.* $(MSILANGPACKTEMPLATEDIR)
269cdf0e10cSrcweir	$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/*.* $(MSIURETEMPLATEDIR)
270cdf0e10cSrcweir	$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/*.* $(MSISDKOOTEMPLATEDIR)
271cdf0e10cSrcweir	$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/Binary$/*.* $(MSIOFFICETEMPLATEDIR)$/Binary
272cdf0e10cSrcweir	$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/Binary$/*.* $(MSILANGPACKTEMPLATEDIR)$/Binary
273cdf0e10cSrcweir	$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary
274cdf0e10cSrcweir	$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/Binary$/*.* $(MSISDKOOTEMPLATEDIR)$/Binary
275cdf0e10cSrcweir	$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
276cdf0e10cSrcweir	$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
277cdf0e10cSrcweir	$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
278cdf0e10cSrcweir	$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
279cdf0e10cSrcweir	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
280cdf0e10cSrcweir	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
281cdf0e10cSrcweir	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
282cdf0e10cSrcweir	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
283cdf0e10cSrcweir
284cdf0e10cSrcweir
285