1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..
25PRJNAME=instsetoo_native
26TARGET=util
27
28.INCLUDE: settings.mk
29.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
30#.INCLUDE: $(SOLARENVINC)$/version.mk
31
32# watch for the path delimiter
33.IF "$(GUI)"=="WNT"
34PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
35.ELSE			# "$(GUI)"=="WNT"
36PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
37.ENDIF			# "$(GUI)"=="WNT"
38.EXPORT: PYTHONPATH
39
40.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
41ENABLE_DOWNLOADSETS*=TRUE
42.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
43.IF "$(FORCE_DOWNLOADSETS)"!=""
44ENABLE_DOWNLOADSETS=TRUE
45.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
46
47.EXPORT: ENABLE_DOWNLOADSETS
48.EXPORT: LAST_MINOR
49.EXPORT: PRJ
50.EXPORT: PRJNAME
51
52.IF "$(OS)"=="LINUX"
53DONT_REMOVE_PACKAGE:=TRUE
54.EXPORT: DONT_REMOVE_PACKAGE
55.ENDIF          # "$(OS)"=="LINUX"
56
57.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
58
59SHARED_COM_SDK_PATH*:=.
60
61INSTALLDIR=$(OUT)
62
63.INCLUDE: target.mk
64
65.IF "$(FORCE2ARCHIVE)" == "TRUE"
66PKGFORMAT = archive
67.END
68.IF "$(MAKETARGETS:e)"!=""
69PKGFORMAT+=$(MAKETARGETS:e:s/.//)
70.ENDIF
71# PKGFORMAT may contain the standard package format twice at this time.
72# Provide its content with duplicates removed.
73PACKAGE_FORMATS=$(uniq $(PKGFORMAT))
74
75
76# The help target belongs after the inclusion of target.mk to not become the default target.
77help .PHONY :
78	@echo "known targets:"
79	@echo "    openoffice             builds the default installation packages for the platform"
80	@echo "    aoo_srcrelease         packs the source release package"
81	@echo "    updatepack"
82	@echo "    openofficedev          developer snapshot"
83	@echo "    ooolanguagepack"
84	@echo "    ooobetalanguagepack"
85	@echo "    ooodevlanguagepack"
86	@echo "    sdkoo                  builds the developer SDK package"
87	@echo "    sdkoobeta              like sdkoo but with 'Beta' appended to the product name"
88	@echo "    sdkoodev               builds the developer snapshot of the SDK"
89	@echo "    openofficebeta         like openoffice but with 'Beta' appended to product name"
90	@echo
91	@echo "experimental targets:"
92	@echo "    patch-create           create a patch for updating an installed office (Windows only)"
93	@echo "    patch-apply            apply a previously created patch"
94	@echo "    patch-update-releases-xml"
95	@echo "    patch-check            check if patch can be created (part of patch-create)"
96	@echo
97	@echo "Most targets (all except aoo_srcrelease and updatepack) accept suffixes"
98	@echo "    append _<language> to build a target for one language only"
99	@echo "        the default set of languages is alllangiso=$(alllangiso)"
100	@echo "    append .<package_format> to build a target for one package format only"
101	@echo "        the default set of package formats is archive and PKGFORMAT=$(PKGFORMAT)"
102	@echo "        known package formats are: "
103	@echo "        archive, bsd, deb, dmg, installed, msi, native, osx, pkg, portable, rpm"
104
105
106LOCALPYFILES=			\
107	$(BIN)$/uno.py		\
108	$(BIN)$/unohelper.py	\
109	$(BIN)$/pythonloader.py \
110	$(BIN)$/pythonscript.py \
111	$(BIN)$/officehelper.py \
112	$(BIN)$/mailmerge.py
113
114xxxx:
115	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
116
117.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
118ALLTAR : $(LOCALPYFILES)
119	@echo "No EPM: do no packaging at this stage"
120.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
121.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
122.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
123ALLTAR : openoffice
124.ELSE
125ALLTAR : openoffice sdkoo_en-US
126.ENDIF
127.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
128ALLTAR : updatepack
129.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
130.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
131
132
133# Independent of PKGFORMAT, always build a default-language openoffice product
134# also in archive format, so that tests that require an AOO installation (like
135# smoketestoo_native) have one available:
136openoffice_$(defaultlangiso) : $$@.archive
137
138.IF "$(VERBOSE)"=="TRUE"
139VERBOSESWITCH=-verbose
140.ELIF "$(VERBOSE)"=="FALSE"
141VERBOSESWITCH=-quiet
142.ENDIF
143
144.IF "$(release)"!=""
145RELEASE_SWITCH=-release
146$(foreach,i,$(alllangiso) openoffice_$i.msi) : prepare_release_build
147.ELSE
148RELEASE_SWITCH=
149.ENDIF
150
151prepare_release_build .PHONY:
152	@$(PERL) -w $(SOLARENV)$/bin$/release_prepare.pl 	\
153		--lst-file $(PRJ)$/util$/openoffice.lst 	\
154		--product-name Apache_OpenOffice		\
155		--output-path $(OUT) 				\
156		$(alllangiso)
157
158.IF "$(VERBOSE_INSTALLER)"=="TRUE"
159VERBOSESWITCH+=-log
160.ENDIF
161
162# New target to prepare a source release
163SRC_RELEASE_OUT_DIR=$(shell cd $(OUT) && pwd)$/AOO_SRC_Release
164
165aoo_srcrelease: $(SOLARENV)$/bin$/srcrelease.xml
166	@-$(MKDIR) $(OUT)$/AOO_SRC_Release
167	$(ANT) -f $(SOLARENV)$/bin$/srcrelease.xml -q -Dbasedir=$(SOURCE_ROOT_DIR) -Dout.dir=$(SRC_RELEASE_OUT_DIR)
168
169updatepack:
170	$(PERL) -w $(SOLARENV)$/bin$/packager.pl
171
172
173
174.IF "$(alllangiso)"==""
175openoffice:
176	@echo no languages specified => aborting packing
177
178.ELSE	# "$(alllangiso)"==""
179
180# The naming schema of targets is this: <target>_<language>.<package>
181# where <target> is the target base name (like openoffice or sdkoo)
182#       <language> is the language name (like en-US or fr)
183#       <package> is the package format (like archive, msi, deb, rpm, dmg)
184
185# Add dependencies of basic targets on language specific targets.
186openoffice: $(foreach,i,$(alllangiso) openoffice_$i)
187openofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
188openofficebeta: $(foreach,i,$(alllangiso) openofficebeta_$i)
189ooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
190ooobetalanguagepack : $(foreach,i,$(alllangiso) ooobetalanguagepack_$i)
191ooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
192sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
193sdkoobeta: $(foreach,i,$(alllangiso) sdkoobeta_$i)
194sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
195patch-create: $(foreach,i,$(alllangiso) patch-create_$i)
196
197MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
198MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
199MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
200
201NOLOGOSPLASH:=$(BIN)$/intro.zip
202DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip $(BIN)$/dev$/images.zip
203BETA_LOGO_SPLASH:=$(BIN)$/beta$/intro.zip $(BIN)$/beta$/images.zip
204MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
205MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
206MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
207
208ADDDEPS=adddeps
209adddeps .PHONY : $(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
210
211.IF "$(OS)" == "WNT"
212adddeps : msitemplates
213.ENDIF
214
215.IF "$(LOCALPYFILES)"!=""
216local_python_files .PHONY : $(LOCALPYFILES)
217adddeps : local_python_files
218updatepack : local_python_files
219.ENDIF			# "$(LOCALPYFILES)"!=""
220
221# Add dependencies on 'adddeps' where necessary.
222$(foreach,i,$(alllangiso) openoffice_$i) : adddeps
223openoffice_$(defaultlangiso).archive : adddeps
224$(foreach,i,$(alllangiso) openofficedev_$i) : adddeps
225$(foreach,i,$(alllangiso) openofficebeta_$i) : adddeps $(BETA_LOGO_SPLASH)
226$(foreach,i,$(alllangiso) ooolanguagepack_$i) : adddeps
227$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : adddeps
228$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : adddeps
229$(foreach,i,$(alllangiso) sdkoo_$i) : adddeps
230$(foreach,i,$(alllangiso) sdkoobeta_$i) : adddeps
231$(foreach,i,$(alllangiso) sdkoodev_$i) : adddeps
232
233# Create targets that take the package formats into account. Together with language dependency we
234# get this transformation: target -> target_$language -> target_$language.$package
235# where $language ranges over all languages in $(alllangiso)
236# and $package ranges over all package formats in $(PKGFORMAT)
237$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
238$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
239$(foreach,i,$(alllangiso) openofficebeta_$i) : $$@{$(PKGFORMAT:^".")}
240$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
241$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
242$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
243$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
244$(foreach,i,$(alllangiso) sdkoobeta_$i) : $$@{$(PKGFORMAT:^".")}
245$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
246$(foreach,i,$(alllangiso) patch-create_$i) : $$@{$(PKGFORMAT:^".")}
247
248
249# This macro makes calling the make_installer.pl script a bit easier.
250# Just add -p and -msitemplate switches.
251MAKE_INSTALLER_COMMAND=					\
252	@$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
253		-f $(PRJ)$/util$/openoffice.lst 	\
254		-l $(subst,$(@:s/_/ /:1)_, $(@:b)) 	\
255		-u $(OUT) 				\
256		-buildid $(BUILD) 			\
257		-msilanguage $(MISC)$/win_ulffiles	\
258		-format $(@:e:s/.//) 			\
259		$(VERBOSESWITCH)
260
261# This macro makes calling gen_update_info.pl a bit easier
262# Just add --product switches, and xml input file and redirect output.
263GEN_UPDATE_INFO_COMMAND=					\
264	@$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl	\
265		--buildid $(BUILD)				\
266		--arch "$(RTL_ARCH)"				\
267		--os "$(RTL_OS)"				\
268		--lstfile $(PRJ)$/util$/openoffice.lst		\
269		--languages $(subst,$(@:s/_/ /:1)_, $(@:b))
270
271#openoffice_%{$(PKGFORMAT:^".")} :
272$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openoffice_$L.$P)) .PHONY :
273	$(MAKE_INSTALLER_COMMAND) 			\
274		-p Apache_OpenOffice			\
275		-msitemplate $(MSIOFFICETEMPLATEDIR)	\
276		$(RELEASE_SWITCH)
277	$(GEN_UPDATE_INFO_COMMAND)		\
278		--product Apache_OpenOffice	\
279		$(PRJ)$/util$/update.xml	\
280		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
281
282
283#openofficedev_%{$(PKGFORMAT:^".")} :
284$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficedev_$L.$P)) .PHONY :
285	$(MAKE_INSTALLER_COMMAND)		\
286		-p Apache_OpenOffice_Dev	\
287		-msitemplate $(MSIOFFICETEMPLATEDIR)
288	$(GEN_UPDATE_INFO_COMMAND)			\
289		--product Apache_OpenOffice_Dev 	\
290		$(PRJ)$/util$/update.xml 		\
291		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
292
293#openofficebeta_%{$(PKGFORMAT:^".")} :
294$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficebeta_$L.$P)) .PHONY :
295	$(MAKE_INSTALLER_COMMAND)		\
296		-p Apache_OpenOffice_Beta	\
297		-msitemplate $(MSIOFFICETEMPLATEDIR)
298	$(GEN_UPDATE_INFO_COMMAND)			\
299		--product Apache_OpenOffice_Beta 	\
300		$(PRJ)$/util$/update.xml 		\
301		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
302
303#ooolanguagepack_%{$(PKGFORMAT:^".")} :
304$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooolanguagepack_$L.$P)) .PHONY :
305	$(MAKE_INSTALLER_COMMAND)			\
306		-p Apache_OpenOffice			\
307		-msitemplate $(MSILANGPACKTEMPLATEDIR)	\
308		-languagepack
309
310#ooobetalanguagepack_%{$(PKGFORMAT:^".")} :
311$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooobetalanguagepack_$L.$P)) .PHONY :
312	$(MAKE_INSTALLER_COMMAND)			\
313		-p Apache_OpenOffice_Beta			\
314		-msitemplate $(MSILANGPACKTEMPLATEDIR)	\
315		-languagepack
316
317#ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
318$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooodevlanguagepack_$L.$P)) .PHONY :
319	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack
320
321#sdkoo_%{$(PKGFORMAT:^".")} :
322$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoo_$L.$P)) .PHONY :
323	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
324
325#sdkoobeta_%{$(PKGFORMAT:^".")} :
326$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoobeta_$L.$P)) .PHONY :
327	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Beta_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
328
329#sdkoodev_%{$(PKGFORMAT:^".")} :
330$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoodev_$L.$P)) .PHONY :
331	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
332
333.ENDIF	# "$(alllangiso)"==""
334
335$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
336	$(COPY) $< $@
337
338$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
339	$(COPY) $< $@
340
341$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
342	@-$(MKDIR) $(@:d)
343	$(COPY) $< $@
344
345# Replace framework/res/*.png with *-dev.png
346$(BIN)$/dev$/images.zip : $(SOLARBINDIR)$/images.zip
347	$(COPY) $< $@
348	$(PERL) $(SOLARENV)$/bin/replace_in_zip.pl	\
349		$@				\
350		framework/res/			\
351		$(SRC_ROOT)/default_images/framework/res/dev/	\
352		backing.png			\
353		backing_hc.png			\
354		backing_rtl_left.png		\
355		backing_rtl_left_hc.png
356
357$(BIN)$/beta$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_beta$/intro.zip
358	@-$(MKDIR) $(@:d)
359	$(COPY) $< $@
360
361# Replace framework/res/*.png with *-beta.png
362$(BIN)$/beta$/images.zip : $(SOLARBINDIR)$/images.zip
363	$(COPY) $< $@
364	$(PERL) $(SOLARENV)$/bin/replace_in_zip.pl	\
365		$@				\
366		framework/res/			\
367		$(SRC_ROOT)/default_images/framework/res/beta/	\
368		backing.png			\
369		backing_hc.png			\
370		backing_rtl_left.png		\
371		backing_rtl_left_hc.png
372
373.IF "$(OS)" == "WNT"
374$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
375	@echo building $@
376	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
377		create								\
378		--product-name Apache_OpenOffice				\
379		--output-path $(OUT)						\
380		--data-path $(PRJ)$/data					\
381		--lst-file $(PRJ)$/util$/openoffice.lst				\
382		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
383		--package-format $(@:e:s/.//)
384patch-apply .PHONY :
385	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
386		apply								\
387		--product-name Apache_OpenOffice				\
388		--output-path $(OUT)						\
389		--lst-file $(PRJ)$/util$/openoffice.lst				\
390		--language en-US						\
391		--package-format msi
392patch-update-releases-xml .PHONY:
393	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
394		update-releases-xml						\
395		--product-name Apache_OpenOffice				\
396		--output-path $(OUT)						\
397		--lst-file $(PRJ)$/util$/openoffice.lst\
398		--target-version 4.0.1
399$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-check_$L.$P)) .PHONY :
400	@echo building $@
401	$(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
402		check								\
403		--product-name Apache_OpenOffice				\
404		--output-path $(OUT)						\
405		--data-path $(PRJ)$/data					\
406		--lst-file $(PRJ)$/util$/openoffice.lst				\
407		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
408		--package-format $(@:e:s/.//)
409
410$(PRJ)$/data :
411	mkdir $@
412.ELSE
413$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
414	@echo "patches can only be created on Windows at the moment"
415patch-apply .PHONY :
416	@echo "patches can only be created on Windows at the moment"
417patch-update-releases-xml .PHONY:
418	@echo "patches can only be created on Windows at the moment"
419.ENDIF
420
421
422msitemplates .PHONY: msi_template_files msi_langpack_template_files msi_sdk_template_files
423
424MSI_OFFICE_TEMPLATE_FILES=		\
425	ActionTe.idt			\
426	AdminExe.idt			\
427	AdminUIS.idt			\
428	AdvtExec.idt			\
429	AppSearc.idt			\
430	Binary.idt			\
431	CheckBox.idt			\
432	Control.idt			\
433	ControlC.idt			\
434	ControlE.idt			\
435	CustomAc.idt			\
436	Dialog.idt			\
437	Error.idt			\
438	EventMap.idt			\
439	InstallE.idt			\
440	InstallU.idt			\
441	LaunchCo.idt			\
442	ListBox.idt			\
443	Property.idt			\
444	RadioBut.idt			\
445	RegLocat.idt			\
446	Signatur.idt			\
447	TextStyl.idt			\
448	UIText.idt			\
449	_Validat.idt			\
450	codes.txt			\
451	codes_broo.txt			\
452	codes_broodev.txt		\
453	codes_ooodev.txt		\
454	components.txt			\
455	upgradecode_remove_ooo.txt	\
456	Binary/Banner.bmp		\
457	Binary/Image.bmp		\
458	Binary/caution.ico		\
459	Binary/dontinstall.ico		\
460	Binary/install.ico		\
461	Binary/installfirstuse.ico	\
462	Binary/installpartial.ico	\
463	Binary/installstatemenu.ico	\
464	Binary/networkinstall.ico	\
465	Binary/newfolder.ico		\
466	Binary/openfolder.ico		\
467	Binary/setup.ico		\
468	Binary/setupcomplete.ico	\
469	Binary/setuppartial.ico		\
470	Binary/setuprepair.ico		\
471	Binary/trashcan.ico		\
472	Binary/up.ico
473
474MSI_LANGPACK_TEMPLATE_FILES=		\
475	ActionTe.idt			\
476	AdminExe.idt			\
477	AdminUIS.idt			\
478	AdvtExec.idt			\
479	Binary.idt			\
480	CheckBox.idt			\
481	Control.idt			\
482	ControlC.idt			\
483	ControlE.idt			\
484	CustomAc.idt			\
485	Dialog.idt			\
486	Error.idt			\
487	EventMap.idt			\
488	InstallE.idt			\
489	InstallU.idt			\
490	LaunchCo.idt			\
491	ListBox.idt			\
492	Property.idt			\
493	RadioBut.idt			\
494	TextStyl.idt			\
495	UIText.idt			\
496	_Validat.idt			\
497	bro_patchcodes.txt		\
498	brodev_patchcodes.txt		\
499	codes.txt			\
500	codes_broo.txt			\
501	codes_ooodev.txt		\
502	components.txt			\
503	ooo_patchcodes.txt		\
504	ooodev_patchcodes.txt		\
505	Binary/Banner.bmp		\
506	Binary/Image.bmp		\
507	Binary/caution.ico		\
508	Binary/dontinstall.ico		\
509	Binary/install.ico		\
510	Binary/installfirstuse.ico	\
511	Binary/installpartial.ico	\
512	Binary/installstatemenu.ico	\
513	Binary/networkinstall.ico	\
514	Binary/newfolder.ico		\
515	Binary/openfolder.ico		\
516	Binary/setup.ico		\
517	Binary/setupcomplete.ico	\
518	Binary/setuppartial.ico		\
519	Binary/setuprepair.ico		\
520	Binary/trashcan.ico		\
521	Binary/up.ico
522
523MSI_SDK_TEMPLATE_FILES=			\
524	ActionTe.idt			\
525	AdminExe.idt			\
526	AdminUIS.idt			\
527	AdvtExec.idt			\
528	AppSearc.idt			\
529	Binary.idt			\
530	CheckBox.idt			\
531	Control.idt			\
532	ControlC.idt			\
533	ControlE.idt			\
534	CustomAc.idt			\
535	Dialog.idt			\
536	Error.idt			\
537	EventMap.idt			\
538	InstallE.idt			\
539	InstallU.idt			\
540	LaunchCo.idt			\
541	ListBox.idt			\
542	Property.idt			\
543	RadioBut.idt			\
544	RegLocat.idt			\
545	Signatur.idt			\
546	TextStyl.idt			\
547	UIText.idt			\
548	_Validat.idt			\
549	codes.txt			\
550	components.txt			\
551	Binary/Banner.bmp		\
552	Binary/Image.bmp		\
553	Binary/caution.ico		\
554	Binary/dontinstall.ico		\
555	Binary/install.ico		\
556	Binary/installfirstuse.ico	\
557	Binary/installpartial.ico	\
558	Binary/installstatemenu.ico	\
559	Binary/networkinstall.ico	\
560	Binary/newfolder.ico		\
561	Binary/openfolder.ico		\
562	Binary/setup.ico		\
563	Binary/setupcomplete.ico	\
564	Binary/setuppartial.ico		\
565	Binary/setuprepair.ico		\
566	Binary/trashcan.ico		\
567	Binary/up.ico
568
569msi_template_files .PHONY:					\
570	$(MSIOFFICETEMPLATEDIR)					\
571	$(MSIOFFICETEMPLATEDIR)$/Binary 			\
572	$(MSIOFFICETEMPLATEDIR)$/{$(MSI_OFFICE_TEMPLATE_FILES)}
573$(MSIOFFICETEMPLATEDIR) $(MSIOFFICETEMPLATEDIR)$/Binary :
574	-$(MKDIRHIER) $@
575$(MSIOFFICETEMPLATEDIR)$/% : $(MSIOFFICETEMPLATESOURCE)$/%
576	$(GNUCOPY) $< $@
577
578msi_langpack_template_files .PHONY :				\
579	$(MSILANGPACKTEMPLATEDIR)				\
580	$(MSILANGPACKTEMPLATEDIR)$/Binary			\
581	$(MSILANGPACKTEMPLATEDIR)$/{$(MSI_LANGPACK_TEMPLATE_FILES)}
582$(MSILANGPACKTEMPLATEDIR) $(MSILANGPACKTEMPLATEDIR)$/Binary :
583	-$(MKDIRHIER) $@
584$(MSILANGPACKTEMPLATEDIR)$/% : $(MSILANGPACKTEMPLATESOURCE)$/%
585	$(GNUCOPY) $< $@
586
587
588msi_sdk_template_files .PHONY :					\
589	$(MSISDKOOTEMPLATEDIR)					\
590	$(MSISDKOOTEMPLATEDIR)$/Binary				\
591	$(MSISDKOOTEMPLATEDIR)$/{$(MSI_SDK_TEMPLATE_FILES)}
592$(MSISDKOOTEMPLATEDIR) $(MSISDKOOTEMPLATEDIR)$/Binary :
593	-$(MKDIRHIER) $@
594$(MSISDKOOTEMPLATEDIR)/% : $(MSISDKOOTEMPLATESOURCE)$/%
595	$(GNUCOPY) $< $@
596
597# vim: set noet ts=4 sw=4:
598