17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..
23cdf0e10cSrcweirPRJNAME=instsetoo_native
24cdf0e10cSrcweirTARGET=util
25cdf0e10cSrcweir
26cdf0e10cSrcweir.INCLUDE:  settings.mk
27cdf0e10cSrcweir.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
28f3c13b8dSJürgen Schmidt#.INCLUDE: $(SOLARENVINC)$/version.mk
29cdf0e10cSrcweir
30cdf0e10cSrcweir# watch for the path delimiter
31cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
32cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
33cdf0e10cSrcweir.ELSE			# "$(GUI)"=="WNT"
34cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
35cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="WNT"
36cdf0e10cSrcweir.EXPORT: PYTHONPATH
37cdf0e10cSrcweir
38cdf0e10cSrcweir.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
39cdf0e10cSrcweirENABLE_DOWNLOADSETS*=TRUE
40cdf0e10cSrcweir.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
41cdf0e10cSrcweir.IF "$(FORCE_DOWNLOADSETS)"!=""
42cdf0e10cSrcweirENABLE_DOWNLOADSETS=TRUE
43cdf0e10cSrcweir.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
44cdf0e10cSrcweir
45cdf0e10cSrcweir.EXPORT: ENABLE_DOWNLOADSETS
46cdf0e10cSrcweir.EXPORT: LAST_MINOR
47cdf0e10cSrcweir.EXPORT: PRJ
48cdf0e10cSrcweir.EXPORT: PRJNAME
49cdf0e10cSrcweir
50cdf0e10cSrcweir.IF "$(OS)"=="LINUX"
51cdf0e10cSrcweirDONT_REMOVE_PACKAGE:=TRUE
52cdf0e10cSrcweir.EXPORT: DONT_REMOVE_PACKAGE
53cdf0e10cSrcweir.ENDIF          # "$(OS)"=="LINUX"
54cdf0e10cSrcweir
55cdf0e10cSrcweir.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
56cdf0e10cSrcweir
57cdf0e10cSrcweirSHARED_COM_SDK_PATH*:=.
58cdf0e10cSrcweir
59cdf0e10cSrcweirINSTALLDIR=$(OUT)
60cdf0e10cSrcweir
61cdf0e10cSrcweir.INCLUDE: target.mk
62cdf0e10cSrcweir
63f5a0c083SAndre Fischer.IF "$(FORCE2ARCHIVE)" == "TRUE"
64f5a0c083SAndre FischerPKGFORMAT = archive
65f5a0c083SAndre Fischer.END
66f5a0c083SAndre Fischer.IF "$(MAKETARGETS:e)"!=""
67f5a0c083SAndre FischerPKGFORMAT+=$(MAKETARGETS:e:s/.//)
68f5a0c083SAndre Fischer.ENDIF
69f5a0c083SAndre Fischer# PKGFORMAT may contain the standard package format twice at this time.
70f5a0c083SAndre Fischer# Provide its content with duplicates removed.
71f5a0c083SAndre FischerPACKAGE_FORMATS=$(uniq $(PKGFORMAT))
72f5a0c083SAndre Fischer
73f5a0c083SAndre Fischer
7432d4040dSAndre Fischer# The help target belongs after the inclusion of target.mk to not become the default target.
7532d4040dSAndre Fischerhelp .PHONY :
7632d4040dSAndre Fischer	@echo "known targets:"
7732d4040dSAndre Fischer	@echo "    openoffice             builds the default installation packages for the platform"
7832d4040dSAndre Fischer	@echo "    aoo_srcrelease         packs the source release package"
7932d4040dSAndre Fischer	@echo "    updatepack"
8032d4040dSAndre Fischer	@echo "    openofficedev          devloper snapshot"
8132d4040dSAndre Fischer	@echo "    openofficewithjre"
8232d4040dSAndre Fischer	@echo "    ooolanguagepack"
83f3c13b8dSJürgen Schmidt	@echo "    ooobetalanguagepack"
8432d4040dSAndre Fischer	@echo "    ooodevlanguagepack"
85f3c13b8dSJürgen Schmidt	@echo "    sdkoo                  builds the developer SDK package"
86f3c13b8dSJürgen Schmidt	@echo "    sdkoobeta              like sdkoo but with 'Beta' appended to the product name"
87f3c13b8dSJürgen Schmidt	@echo "    sdkoodev               builds the developer snapshot of the SDK"
88a29d375cSAndre Fischer	@echo "    openofficebeta         like openoffice but with 'Beta' appended to product name"
8932d4040dSAndre Fischer	@echo
909f91b7e3SAndre Fischer	@echo "experimental targets:"
91f5a0c083SAndre Fischer	@echo "    patch-create           create a patch for updating an installed office (Windows only)"
92f5a0c083SAndre Fischer	@echo "    patch-apply            apply a previously created patch"
93f5a0c083SAndre Fischer	@echo "    patch-update-releases-xml"
94677600b0SAndre Fischer	@echo "    patch-check            check if patch can be created (part of patch-create)"
959f91b7e3SAndre Fischer	@echo
9632d4040dSAndre Fischer	@echo "Most targets (all except aoo_srcrelease and updatepack) accept suffixes"
97fdbb6be0SAndre Fischer	@echo "    append _<language> to build a target for one language only"
9832d4040dSAndre Fischer	@echo "        the default set of languages is alllangiso=$(alllangiso)"
99fdbb6be0SAndre Fischer	@echo "    append .<package_format> to build a target for one package format only"
10032d4040dSAndre Fischer	@echo "        the default set of package formats is archive and PKGFORMAT=$(PKGFORMAT)"
101fdbb6be0SAndre Fischer	@echo "        known package formats are: "
102fdbb6be0SAndre Fischer	@echo "        archive, bsd, deb, dmg, installed, msi, native, osx, pkg, portable, rpm"
10332d4040dSAndre Fischer
10432d4040dSAndre Fischer
1059f91b7e3SAndre FischerLOCALPYFILES=			\
1069f91b7e3SAndre Fischer	$(BIN)$/uno.py		\
1079f91b7e3SAndre Fischer	$(BIN)$/unohelper.py	\
108cdf0e10cSrcweir	$(BIN)$/pythonloader.py \
109cdf0e10cSrcweir	$(BIN)$/pythonscript.py \
110cdf0e10cSrcweir	$(BIN)$/officehelper.py \
111cdf0e10cSrcweir	$(BIN)$/mailmerge.py
112cdf0e10cSrcweir
113cdf0e10cSrcweirxxxx:
114cdf0e10cSrcweir    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
115cdf0e10cSrcweir
116cdf0e10cSrcweir.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
117cdf0e10cSrcweirALLTAR  : $(LOCALPYFILES)
118cdf0e10cSrcweir	@echo "No EPM: do no packaging at this stage"
119cdf0e10cSrcweir.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
120cdf0e10cSrcweir.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
121cdf0e10cSrcweir.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
122cdf0e10cSrcweirALLTAR : openoffice
123cdf0e10cSrcweir.ELSE
124910823aeSJürgen SchmidtALLTAR : openoffice sdkoo_en-US
125cdf0e10cSrcweir.ENDIF
126cdf0e10cSrcweir.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
127cdf0e10cSrcweirALLTAR : updatepack
128cdf0e10cSrcweir.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
129cdf0e10cSrcweir.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
130cdf0e10cSrcweir
131cdf0e10cSrcweir
132cdf0e10cSrcweir# Independent of PKGFORMAT, always build a default-language openoffice product
133cdf0e10cSrcweir# also in archive format, so that tests that require an OOo installation (like
134cdf0e10cSrcweir# smoketestoo_native) have one available:
13538d57702SAndre Fischeropenoffice_$(defaultlangiso) : $$@.archive
136cdf0e10cSrcweir
137cdf0e10cSrcweir.IF "$(VERBOSE)"=="TRUE"
138cdf0e10cSrcweirVERBOSESWITCH=-verbose
1393b45f81aSAriel Constenla-Haile.ELIF "$(VERBOSE)"=="FALSE"
140cdf0e10cSrcweirVERBOSESWITCH=-quiet
141cdf0e10cSrcweir.ENDIF
142cdf0e10cSrcweir
1434b7a009fSAndre Fischer.IF "$(release)"!=""
1449f91b7e3SAndre FischerRELEASE_SWITCH=-release
1459f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i.msi) : prepare_release_build
1469f91b7e3SAndre Fischer.ELSE
1479f91b7e3SAndre FischerRELEASE_SWITCH=
1489f91b7e3SAndre Fischer.ENDIF
1499f91b7e3SAndre Fischer
1509f91b7e3SAndre Fischerprepare_release_build .PHONY:
1519f91b7e3SAndre Fischer	@$(PERL) -w $(SOLARENV)$/bin$/release_prepare.pl 	\
1529f91b7e3SAndre Fischer		--lst-file $(PRJ)$/util$/openoffice.lst 	\
1539f91b7e3SAndre Fischer		--product-name Apache_OpenOffice		\
1549f91b7e3SAndre Fischer		--output-path $(OUT) 				\
1559f91b7e3SAndre Fischer		$(alllangiso)
1569f91b7e3SAndre Fischer
1573b45f81aSAriel Constenla-Haile.IF "$(VERBOSE_INSTALLER)"=="TRUE"
1583b45f81aSAriel Constenla-HaileVERBOSESWITCH+=-log
1593b45f81aSAriel Constenla-Haile.ENDIF
1603b45f81aSAriel Constenla-Haile
161c81b3157SJürgen Schmidt# New target to prepare a source release
162c81b3157SJürgen SchmidtSRC_RELEASE_OUT_DIR=$(shell cd $(OUT) && pwd)$/AOO_SRC_Release
163c81b3157SJürgen Schmidt
164c81b3157SJürgen Schmidtaoo_srcrelease: $(SOLARENV)$/bin$/srcrelease.xml
165*0c6d6194SJim Jagielski	$(PERL) -I$(SOLARENV)/bin/modules -e "use RepoRevision; print RepoRevision::DetectRevisionId(\"$(SRC_ROOT)\")" > $(SOLARENV)$/inc$/reporevision.lst
166c81b3157SJürgen Schmidt	@-$(MKDIR) $(OUT)$/AOO_SRC_Release
167c81b3157SJürgen Schmidt	$(ANT) -f $(SOLARENV)$/bin$/srcrelease.xml -q -Dbasedir=$(SOURCE_ROOT_DIR) -Dout.dir=$(SRC_RELEASE_OUT_DIR)
168c81b3157SJürgen Schmidt
169cdf0e10cSrcweirupdatepack:
170cdf0e10cSrcweir	$(PERL) -w $(SOLARENV)$/bin$/packager.pl
171cdf0e10cSrcweir
17238d57702SAndre Fischer
17338d57702SAndre Fischer
174677600b0SAndre Fischer.IF "$(alllangiso)"==""
175677600b0SAndre Fischeropenoffice:
176677600b0SAndre Fischer	@echo no languages specified => aborting packing
177677600b0SAndre Fischer
178677600b0SAndre Fischer.ELSE	# "$(alllangiso)"==""
179677600b0SAndre Fischer
180677600b0SAndre Fischer# The naming schema of targets is this: <target>_<language>.<package>
181677600b0SAndre Fischer# where <target> is the target base name (like openoffice or sdkoo)
182677600b0SAndre Fischer#       <language> is the language name (like en-US or fr)
183677600b0SAndre Fischer#       <package> is the package format (like archive, msi, deb, rpm, dmg)
184cdf0e10cSrcweir
18538d57702SAndre Fischer# Add dependencies of basic targets on language specific targets.
186cdf0e10cSrcweiropenoffice: $(foreach,i,$(alllangiso) openoffice_$i)
187cdf0e10cSrcweiropenofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
188f3c13b8dSJürgen Schmidtopenofficebeta: $(foreach,i,$(alllangiso) openofficebeta_$i)
189cdf0e10cSrcweiropenofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
190cdf0e10cSrcweirooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
191f3c13b8dSJürgen Schmidtooobetalanguagepack : $(foreach,i,$(alllangiso) ooobetalanguagepack_$i)
192cdf0e10cSrcweirooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
193cdf0e10cSrcweirsdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
194f3c13b8dSJürgen Schmidtsdkoobeta: $(foreach,i,$(alllangiso) sdkoobeta_$i)
195cdf0e10cSrcweirsdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
196f5a0c083SAndre Fischerpatch-create: $(foreach,i,$(alllangiso) patch-create_$i)
197cdf0e10cSrcweir
198cdf0e10cSrcweirMSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
199cdf0e10cSrcweirMSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
200cdf0e10cSrcweirMSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
201cdf0e10cSrcweir
202cdf0e10cSrcweirNOLOGOSPLASH:=$(BIN)$/intro.zip
203cdf0e10cSrcweirDEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
204a29d375cSAndre FischerBETA_LOGO_SPLASH:=$(BIN)$/beta$/intro.zip $(BIN)$/beta$/images.zip
205cdf0e10cSrcweirMSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
206cdf0e10cSrcweirMSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
207cdf0e10cSrcweirMSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
208cdf0e10cSrcweir
2099f91b7e3SAndre FischerADDDEPS=adddeps
2109f91b7e3SAndre Fischeradddeps .PHONY : $(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
211451f97f9SPedro Giffuni
212cdf0e10cSrcweir.IF "$(OS)" == "WNT"
2139f91b7e3SAndre Fischeradddeps : msitemplates
214cdf0e10cSrcweir.ENDIF
215cdf0e10cSrcweir
2169f91b7e3SAndre Fischer.IF "$(LOCALPYFILES)"!=""
2179f91b7e3SAndre Fischerlocal_python_files .PHONY : $(LOCALPYFILES)
2189f91b7e3SAndre Fischeradddeps : local_python_files
2199f91b7e3SAndre Fischerupdatepack : local_python_files
2209f91b7e3SAndre Fischer.ENDIF			# "$(LOCALPYFILES)"!=""
2219f91b7e3SAndre Fischer
22238d57702SAndre Fischer# Add dependencies on 'adddeps' where necessary.
22338d57702SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i) : adddeps
22438d57702SAndre Fischeropenoffice_$(defaultlangiso).archive : adddeps
22538d57702SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : adddeps
226f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : adddeps $(BETA_LOGO_SPLASH)
22738d57702SAndre Fischer$(foreach,i,$(alllangiso) openofficewithjre_$i) : adddeps
22838d57702SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : adddeps
229f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : adddeps
23038d57702SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : adddeps
23138d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : adddeps
232f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : adddeps
23338d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : adddeps
23438d57702SAndre Fischer
23538d57702SAndre Fischer# Create targets that take the package formats into account.  Together with language dependency we
23638d57702SAndre Fischer# get this transformation: target -> target_$language -> target_$language.$package
23738d57702SAndre Fischer# where $language ranges over all languages in $(alllangiso)
23838d57702SAndre Fischer# and $package ranges over all package formats in $(PKGFORMAT)
239cdf0e10cSrcweir$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
2409f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
2419f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
242f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : $$@{$(PKGFORMAT:^".")}
2439f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
244f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2459f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2469f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
247f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : $$@{$(PKGFORMAT:^".")}
2489f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
249f5a0c083SAndre Fischer$(foreach,i,$(alllangiso) patch-create_$i) : $$@{$(PKGFORMAT:^".")}
250aa3f9146SAndre Fischer
251aa3f9146SAndre Fischer
252aa3f9146SAndre Fischer# This macro makes calling the make_installer.pl script a bit easier.
253aa3f9146SAndre Fischer# Just add -p and -msitemplate switches.
254aa3f9146SAndre FischerMAKE_INSTALLER_COMMAND=					\
2559f91b7e3SAndre Fischer	@$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
256aa3f9146SAndre Fischer		-f $(PRJ)$/util$/openoffice.lst 	\
257aa3f9146SAndre Fischer		-l $(subst,$(@:s/_/ /:1)_, $(@:b)) 	\
258aa3f9146SAndre Fischer		-u $(OUT) 				\
259aa3f9146SAndre Fischer		-buildid $(BUILD) 			\
260aa3f9146SAndre Fischer		-msilanguage $(MISC)$/win_ulffiles	\
261aa3f9146SAndre Fischer		-format $(@:e:s/.//) 			\
262aa3f9146SAndre Fischer		$(VERBOSESWITCH)
263aa3f9146SAndre Fischer
264aa3f9146SAndre Fischer# This macro makes calling gen_update_info.pl a bit easier
265aa3f9146SAndre Fischer# Just add --product switches, and xml input file and redirect output.
266aa3f9146SAndre FischerGEN_UPDATE_INFO_COMMAND=					\
2679f91b7e3SAndre Fischer	@$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl	\
268aa3f9146SAndre Fischer		--buildid $(BUILD)				\
269aa3f9146SAndre Fischer		--arch "$(RTL_ARCH)"				\
270aa3f9146SAndre Fischer		--os "$(RTL_OS)"				\
271aa3f9146SAndre Fischer		--lstfile $(PRJ)$/util$/openoffice.lst		\
272aa3f9146SAndre Fischer		--languages $(subst,$(@:s/_/ /:1)_, $(@:b))
273aa3f9146SAndre Fischer
27438d57702SAndre Fischer#openoffice_%{$(PKGFORMAT:^".")} :
27538d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openoffice_$L.$P)) .PHONY :
2769f91b7e3SAndre Fischer	$(MAKE_INSTALLER_COMMAND) 			\
2779f91b7e3SAndre Fischer		-p Apache_OpenOffice			\
2789f91b7e3SAndre Fischer		-msitemplate $(MSIOFFICETEMPLATEDIR)	\
2799f91b7e3SAndre Fischer		$(RELEASE_SWITCH)
280dc914883SAndre Fischer	$(GEN_UPDATE_INFO_COMMAND)		\
281dc914883SAndre Fischer		--product Apache_OpenOffice	\
282dc914883SAndre Fischer		$(PRJ)$/util$/update.xml	\
283dc914883SAndre Fischer		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
284dc914883SAndre Fischer
28538d57702SAndre Fischer#openofficewithjre_%{$(PKGFORMAT:^".")} :
28638d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficewithjre_$L.$P)) .PHONY :
287aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR)
288cdf0e10cSrcweir
28938d57702SAndre Fischer#openofficedev_%{$(PKGFORMAT:^".")} :
29038d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficedev_$L.$P)) .PHONY :
291aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND)		\
292aa3f9146SAndre Fischer		-p Apache_OpenOffice_Dev	\
293aa3f9146SAndre Fischer		-msitemplate $(MSIOFFICETEMPLATEDIR)
294aa3f9146SAndre Fischer	$(GEN_UPDATE_INFO_COMMAND)			\
295aa3f9146SAndre Fischer		--product Apache_OpenOffice_Dev 	\
296aa3f9146SAndre Fischer		$(PRJ)$/util$/update.xml 		\
297aa3f9146SAndre Fischer		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
298cdf0e10cSrcweir
299f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficebeta_$L.$P)) .PHONY :
300a29d375cSAndre Fischer	$(MAKE_INSTALLER_COMMAND)		\
301a29d375cSAndre Fischer		-p Apache_OpenOffice_Beta	\
302a29d375cSAndre Fischer		-msitemplate $(MSIOFFICETEMPLATEDIR)
303a29d375cSAndre Fischer	$(GEN_UPDATE_INFO_COMMAND)			\
304a29d375cSAndre Fischer		--product Apache_OpenOffice_Beta 	\
305a29d375cSAndre Fischer		$(PRJ)$/util$/update.xml 		\
306a29d375cSAndre Fischer		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
307a29d375cSAndre Fischer
30838d57702SAndre Fischer#ooolanguagepack_%{$(PKGFORMAT:^".")} :
30938d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooolanguagepack_$L.$P)) .PHONY :
310aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND)			\
311aa3f9146SAndre Fischer		-p Apache_OpenOffice			\
312aa3f9146SAndre Fischer		-msitemplate $(MSILANGPACKTEMPLATEDIR)	\
313aa3f9146SAndre Fischer		-languagepack
314cdf0e10cSrcweir
315f3c13b8dSJürgen Schmidt#ooobetalanguagepack_%{$(PKGFORMAT:^".")} :
316f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooobetalanguagepack_$L.$P)) .PHONY :
317f3c13b8dSJürgen Schmidt	$(MAKE_INSTALLER_COMMAND)			\
318f3c13b8dSJürgen Schmidt		-p Apache_OpenOffice_Beta			\
319f3c13b8dSJürgen Schmidt		-msitemplate $(MSILANGPACKTEMPLATEDIR)	\
320f3c13b8dSJürgen Schmidt		-languagepack
321f3c13b8dSJürgen Schmidt
32238d57702SAndre Fischer#ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
32338d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooodevlanguagepack_$L.$P)) .PHONY :
324aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack
325cdf0e10cSrcweir
32638d57702SAndre Fischer#sdkoo_%{$(PKGFORMAT:^".")} :
32738d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoo_$L.$P)) .PHONY :
328aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
329cdf0e10cSrcweir
330f3c13b8dSJürgen Schmidt#sdkoobeta_%{$(PKGFORMAT:^".")} :
331f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoobeta_$L.$P)) .PHONY :
332f3c13b8dSJürgen Schmidt	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Beta_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
333f3c13b8dSJürgen Schmidt
33438d57702SAndre Fischer#sdkoodev_%{$(PKGFORMAT:^".")} :
33538d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoodev_$L.$P)) .PHONY :
336aa3f9146SAndre Fischer	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
337cdf0e10cSrcweir
338677600b0SAndre Fischer.ENDIF	# "$(alllangiso)"==""
339cdf0e10cSrcweir
340cdf0e10cSrcweir$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
3419f91b7e3SAndre Fischer	$(COPY) $< $@
342cdf0e10cSrcweir
343910823aeSJürgen Schmidt$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
344cdf0e10cSrcweir	$(COPY) $< $@
345cdf0e10cSrcweir
346910823aeSJürgen Schmidt$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
347cdf0e10cSrcweir	@-$(MKDIR) $(@:d)
348cdf0e10cSrcweir	$(COPY) $< $@
349cdf0e10cSrcweir
350a29d375cSAndre Fischer$(BIN)$/beta$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_beta$/intro.zip
351a29d375cSAndre Fischer	@-$(MKDIR) $(@:d)
352a29d375cSAndre Fischer	$(COPY) $< $@
353a29d375cSAndre Fischer
354a29d375cSAndre Fischer# Replace framework/res/*.png with *-beta.png
355f3c13b8dSJürgen Schmidt$(BIN)$/beta$/images.zip : $(SOLARBINDIR)$/images.zip
356a29d375cSAndre Fischer	$(COPY) $< $@
357f3c13b8dSJürgen Schmidt	$(PERL) $(SOLARENV)$/bin/replace_in_zip.pl	\
358a29d375cSAndre Fischer		$@				\
359a29d375cSAndre Fischer		framework/res/			\
360a29d375cSAndre Fischer		$(SRC_ROOT)/default_images/framework/res/beta/	\
361a29d375cSAndre Fischer		backing.png			\
362a29d375cSAndre Fischer		backing_hc.png			\
363a29d375cSAndre Fischer		backing_rtl_left.png		\
364a29d375cSAndre Fischer		backing_rtl_left_hc.png
3659f91b7e3SAndre Fischer
3669f91b7e3SAndre Fischer.IF "$(OS)" == "WNT"
367f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
368f5a0c083SAndre Fischer	@echo building $@
369f3c13b8dSJürgen Schmidt	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
370d575d58fSAndre Fischer		create								\
3719f91b7e3SAndre Fischer		--product-name Apache_OpenOffice				\
3729f91b7e3SAndre Fischer		--output-path $(OUT)						\
3739f91b7e3SAndre Fischer		--data-path $(PRJ)$/data					\
374f5a0c083SAndre Fischer		--lst-file $(PRJ)$/util$/openoffice.lst				\
375f5a0c083SAndre Fischer		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
376f5a0c083SAndre Fischer		--package-format $(@:e:s/.//)
377f5a0c083SAndre Fischerpatch-apply .PHONY :
378f3c13b8dSJürgen Schmidt	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
379d575d58fSAndre Fischer		apply								\
380d575d58fSAndre Fischer		--product-name Apache_OpenOffice				\
381d575d58fSAndre Fischer		--output-path $(OUT)						\
382f5a0c083SAndre Fischer		--lst-file $(PRJ)$/util$/openoffice.lst				\
383f5a0c083SAndre Fischer		--language en-US						\
384f5a0c083SAndre Fischer		--package-format msi
385f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
386f3c13b8dSJürgen Schmidt	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
387d575d58fSAndre Fischer		update-releases-xml						\
388d575d58fSAndre Fischer		--product-name Apache_OpenOffice				\
389d575d58fSAndre Fischer		--output-path $(OUT)						\
390d575d58fSAndre Fischer		--lst-file $(PRJ)$/util$/openoffice.lst\
391d575d58fSAndre Fischer		--target-version 4.0.1
392677600b0SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-check_$L.$P)) .PHONY :
393677600b0SAndre Fischer	@echo building $@
394f3c13b8dSJürgen Schmidt	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
395677600b0SAndre Fischer		check								\
396677600b0SAndre Fischer		--product-name Apache_OpenOffice				\
397677600b0SAndre Fischer		--output-path $(OUT)						\
398677600b0SAndre Fischer		--data-path $(PRJ)$/data					\
399677600b0SAndre Fischer		--lst-file $(PRJ)$/util$/openoffice.lst				\
400677600b0SAndre Fischer		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
401677600b0SAndre Fischer		--package-format $(@:e:s/.//)
4029f91b7e3SAndre Fischer
4039f91b7e3SAndre Fischer$(PRJ)$/data :
4049f91b7e3SAndre Fischer	mkdir $@
4059f91b7e3SAndre Fischer.ELSE
406f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
407f5a0c083SAndre Fischer	@echo "patches can only be created on Windows at the moment"
408f5a0c083SAndre Fischerpatch-apply .PHONY :
409f5a0c083SAndre Fischer	@echo "patches can only be created on Windows at the moment"
410f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
4119f91b7e3SAndre Fischer	@echo "patches can only be created on Windows at the moment"
4129f91b7e3SAndre Fischer.ENDIF
4139f91b7e3SAndre Fischer
4149f91b7e3SAndre Fischer
415b6dfe6c8SAndre Fischermsitemplates .PHONY: msi_template_files msi_langpack_template_files msi_sdk_template_files
4167a3dfa40SAndre Fischer
4177a3dfa40SAndre FischerMSI_OFFICE_TEMPLATE_FILES=		\
4187a3dfa40SAndre Fischer	ActionTe.idt			\
4197a3dfa40SAndre Fischer	AdminExe.idt			\
4207a3dfa40SAndre Fischer	AdminUIS.idt			\
4217a3dfa40SAndre Fischer	AdvtExec.idt			\
4227a3dfa40SAndre Fischer	AppSearc.idt			\
4237a3dfa40SAndre Fischer	Binary.idt			\
4247a3dfa40SAndre Fischer	CheckBox.idt			\
4257a3dfa40SAndre Fischer	Control.idt			\
4267a3dfa40SAndre Fischer	ControlC.idt			\
4277a3dfa40SAndre Fischer	ControlE.idt			\
4287a3dfa40SAndre Fischer	CustomAc.idt			\
4297a3dfa40SAndre Fischer	Dialog.idt			\
4307a3dfa40SAndre Fischer	Error.idt			\
4317a3dfa40SAndre Fischer	EventMap.idt			\
4327a3dfa40SAndre Fischer	InstallE.idt			\
4337a3dfa40SAndre Fischer	InstallU.idt			\
4347a3dfa40SAndre Fischer	LaunchCo.idt			\
4357a3dfa40SAndre Fischer	ListBox.idt			\
4367a3dfa40SAndre Fischer	Property.idt			\
4377a3dfa40SAndre Fischer	RadioBut.idt			\
4387a3dfa40SAndre Fischer	RegLocat.idt			\
4397a3dfa40SAndre Fischer	Signatur.idt			\
4407a3dfa40SAndre Fischer	TextStyl.idt			\
4417a3dfa40SAndre Fischer	UIText.idt			\
4427a3dfa40SAndre Fischer	_Validat.idt			\
4437a3dfa40SAndre Fischer	codes.txt			\
4447a3dfa40SAndre Fischer	codes_broo.txt			\
4457a3dfa40SAndre Fischer	codes_broodev.txt		\
4467a3dfa40SAndre Fischer	codes_ooodev.txt		\
4477a3dfa40SAndre Fischer	components.txt			\
4487a3dfa40SAndre Fischer	upgradecode_remove_ooo.txt	\
4497a3dfa40SAndre Fischer	Binary/Banner.bmp		\
4507a3dfa40SAndre Fischer	Binary/Image.bmp		\
4517a3dfa40SAndre Fischer	Binary/caution.ico		\
4527a3dfa40SAndre Fischer	Binary/dontinstall.ico		\
4537a3dfa40SAndre Fischer	Binary/install.ico		\
4547a3dfa40SAndre Fischer	Binary/installfirstuse.ico	\
4557a3dfa40SAndre Fischer	Binary/installpartial.ico	\
4567a3dfa40SAndre Fischer	Binary/installstatemenu.ico	\
4577a3dfa40SAndre Fischer	Binary/networkinstall.ico	\
4587a3dfa40SAndre Fischer	Binary/newfolder.ico		\
4597a3dfa40SAndre Fischer	Binary/openfolder.ico		\
4607a3dfa40SAndre Fischer	Binary/setup.ico		\
4617a3dfa40SAndre Fischer	Binary/setupcomplete.ico	\
4627a3dfa40SAndre Fischer	Binary/setuppartial.ico		\
4637a3dfa40SAndre Fischer	Binary/setuprepair.ico		\
4647a3dfa40SAndre Fischer	Binary/trashcan.ico		\
4657a3dfa40SAndre Fischer	Binary/up.ico
4667a3dfa40SAndre Fischer
4677a3dfa40SAndre FischerMSI_LANGPACK_TEMPLATE_FILES=		\
4687a3dfa40SAndre Fischer	ActionTe.idt			\
4697a3dfa40SAndre Fischer	AdminExe.idt			\
4707a3dfa40SAndre Fischer	AdminUIS.idt			\
4717a3dfa40SAndre Fischer	AdvtExec.idt			\
4727a3dfa40SAndre Fischer	Binary.idt			\
4737a3dfa40SAndre Fischer	CheckBox.idt			\
4747a3dfa40SAndre Fischer	Control.idt			\
4757a3dfa40SAndre Fischer	ControlC.idt			\
4767a3dfa40SAndre Fischer	ControlE.idt			\
4777a3dfa40SAndre Fischer	CustomAc.idt			\
4787a3dfa40SAndre Fischer	Dialog.idt			\
4797a3dfa40SAndre Fischer	Error.idt			\
4807a3dfa40SAndre Fischer	EventMap.idt			\
4817a3dfa40SAndre Fischer	InstallE.idt			\
4827a3dfa40SAndre Fischer	InstallU.idt			\
4837a3dfa40SAndre Fischer	LaunchCo.idt			\
4847a3dfa40SAndre Fischer	ListBox.idt			\
4857a3dfa40SAndre Fischer	Property.idt			\
4867a3dfa40SAndre Fischer	RadioBut.idt			\
4877a3dfa40SAndre Fischer	TextStyl.idt			\
4887a3dfa40SAndre Fischer	UIText.idt			\
4897a3dfa40SAndre Fischer	_Validat.idt			\
4907a3dfa40SAndre Fischer	bro_patchcodes.txt		\
4917a3dfa40SAndre Fischer	brodev_patchcodes.txt		\
4927a3dfa40SAndre Fischer	codes.txt			\
4937a3dfa40SAndre Fischer	codes_broo.txt			\
4947a3dfa40SAndre Fischer	codes_ooodev.txt		\
4957a3dfa40SAndre Fischer	components.txt			\
4967a3dfa40SAndre Fischer	ooo_patchcodes.txt		\
4977a3dfa40SAndre Fischer	ooodev_patchcodes.txt		\
49804be0b07SAndre Fischer	Binary/Banner.bmp		\
49904be0b07SAndre Fischer	Binary/Image.bmp		\
50004be0b07SAndre Fischer	Binary/caution.ico		\
50104be0b07SAndre Fischer	Binary/dontinstall.ico		\
50204be0b07SAndre Fischer	Binary/install.ico		\
50304be0b07SAndre Fischer	Binary/installfirstuse.ico	\
50404be0b07SAndre Fischer	Binary/installpartial.ico	\
50504be0b07SAndre Fischer	Binary/installstatemenu.ico	\
50604be0b07SAndre Fischer	Binary/networkinstall.ico	\
50704be0b07SAndre Fischer	Binary/newfolder.ico		\
50804be0b07SAndre Fischer	Binary/openfolder.ico		\
50904be0b07SAndre Fischer	Binary/setup.ico		\
51004be0b07SAndre Fischer	Binary/setupcomplete.ico	\
51104be0b07SAndre Fischer	Binary/setuppartial.ico		\
51204be0b07SAndre Fischer	Binary/setuprepair.ico		\
51304be0b07SAndre Fischer	Binary/trashcan.ico		\
51404be0b07SAndre Fischer	Binary/up.ico
5157a3dfa40SAndre Fischer
5167a3dfa40SAndre FischerMSI_SDK_TEMPLATE_FILES=			\
5177a3dfa40SAndre Fischer	ActionTe.idt			\
5187a3dfa40SAndre Fischer	AdminExe.idt			\
5197a3dfa40SAndre Fischer	AdminUIS.idt			\
5207a3dfa40SAndre Fischer	AdvtExec.idt			\
5217a3dfa40SAndre Fischer	AppSearc.idt			\
5227a3dfa40SAndre Fischer	Binary.idt			\
5237a3dfa40SAndre Fischer	CheckBox.idt			\
5247a3dfa40SAndre Fischer	Control.idt			\
5257a3dfa40SAndre Fischer	ControlC.idt			\
5267a3dfa40SAndre Fischer	ControlE.idt			\
5277a3dfa40SAndre Fischer	CustomAc.idt			\
5287a3dfa40SAndre Fischer	Dialog.idt			\
5297a3dfa40SAndre Fischer	Error.idt			\
5307a3dfa40SAndre Fischer	EventMap.idt			\
5317a3dfa40SAndre Fischer	InstallE.idt			\
5327a3dfa40SAndre Fischer	InstallU.idt			\
5337a3dfa40SAndre Fischer	LaunchCo.idt			\
5347a3dfa40SAndre Fischer	ListBox.idt			\
5357a3dfa40SAndre Fischer	Property.idt			\
5367a3dfa40SAndre Fischer	RadioBut.idt			\
5377a3dfa40SAndre Fischer	RegLocat.idt			\
5387a3dfa40SAndre Fischer	Signatur.idt			\
5397a3dfa40SAndre Fischer	TextStyl.idt			\
5407a3dfa40SAndre Fischer	UIText.idt			\
5417a3dfa40SAndre Fischer	_Validat.idt			\
5427a3dfa40SAndre Fischer	codes.txt			\
5437a3dfa40SAndre Fischer	components.txt			\
5447a3dfa40SAndre Fischer	Binary/Banner.bmp		\
5457a3dfa40SAndre Fischer	Binary/Image.bmp		\
5467a3dfa40SAndre Fischer	Binary/caution.ico		\
5477a3dfa40SAndre Fischer	Binary/dontinstall.ico		\
5487a3dfa40SAndre Fischer	Binary/install.ico		\
5497a3dfa40SAndre Fischer	Binary/installfirstuse.ico	\
5507a3dfa40SAndre Fischer	Binary/installpartial.ico	\
5517a3dfa40SAndre Fischer	Binary/installstatemenu.ico	\
5527a3dfa40SAndre Fischer	Binary/networkinstall.ico	\
5537a3dfa40SAndre Fischer	Binary/newfolder.ico		\
5547a3dfa40SAndre Fischer	Binary/openfolder.ico		\
5557a3dfa40SAndre Fischer	Binary/setup.ico		\
5567a3dfa40SAndre Fischer	Binary/setupcomplete.ico	\
5577a3dfa40SAndre Fischer	Binary/setuppartial.ico		\
5587a3dfa40SAndre Fischer	Binary/setuprepair.ico		\
5597a3dfa40SAndre Fischer	Binary/trashcan.ico		\
5607a3dfa40SAndre Fischer	Binary/up.ico
5617a3dfa40SAndre Fischer
5627a3dfa40SAndre Fischermsi_template_files .PHONY:					\
5637a3dfa40SAndre Fischer	$(MSIOFFICETEMPLATEDIR)					\
5647a3dfa40SAndre Fischer	$(MSIOFFICETEMPLATEDIR)$/Binary 			\
5657a3dfa40SAndre Fischer	$(MSIOFFICETEMPLATEDIR)$/{$(MSI_OFFICE_TEMPLATE_FILES)}
5667a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR) $(MSIOFFICETEMPLATEDIR)$/Binary :
5677a3dfa40SAndre Fischer	-$(MKDIRHIER) $@
5687a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR)$/% : $(MSIOFFICETEMPLATESOURCE)$/%
5697a3dfa40SAndre Fischer	$(GNUCOPY) $< $@
5707a3dfa40SAndre Fischer
5717a3dfa40SAndre Fischermsi_langpack_template_files .PHONY :				\
5727a3dfa40SAndre Fischer	$(MSILANGPACKTEMPLATEDIR)				\
5737a3dfa40SAndre Fischer	$(MSILANGPACKTEMPLATEDIR)$/Binary			\
5747a3dfa40SAndre Fischer	$(MSILANGPACKTEMPLATEDIR)$/{$(MSI_LANGPACK_TEMPLATE_FILES)}
5757a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR) $(MSILANGPACKTEMPLATEDIR)$/Binary  :
5767a3dfa40SAndre Fischer	-$(MKDIRHIER) $@
5777a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR)$/% : $(MSILANGPACKTEMPLATESOURCE)$/%
5787a3dfa40SAndre Fischer	$(GNUCOPY) $< $@
5797a3dfa40SAndre Fischer
5807a3dfa40SAndre Fischer
5817a3dfa40SAndre Fischermsi_sdk_template_files .PHONY :					\
5827a3dfa40SAndre Fischer	$(MSISDKOOTEMPLATEDIR)					\
5837a3dfa40SAndre Fischer	$(MSISDKOOTEMPLATEDIR)$/Binary				\
5847a3dfa40SAndre Fischer	$(MSISDKOOTEMPLATEDIR)$/{$(MSI_SDK_TEMPLATE_FILES)}
5857a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR) $(MSISDKOOTEMPLATEDIR)$/Binary :
5867a3dfa40SAndre Fischer	-$(MKDIRHIER) $@
5877a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR)/% : $(MSISDKOOTEMPLATESOURCE)$/%
5887a3dfa40SAndre Fischer	$(GNUCOPY) $< $@
5899f91b7e3SAndre Fischer
5909f91b7e3SAndre Fischer
5919f91b7e3SAndre Fischer# Local Variables:
5929f91b7e3SAndre Fischer# tab-width: 8
5939f91b7e3SAndre Fischer# End:
594