makefile.mk (b6dfe6c8) makefile.mk (dc914883)
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

--- 189 unchanged lines hidden (view full) ---

198$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
199.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
200.ENDIF # "$(MAKETARGETS)"!=""
201
202
203# This macro makes calling the make_installer.pl script a bit easier.
204# Just add -p and -msitemplate switches.
205MAKE_INSTALLER_COMMAND= \
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

--- 189 unchanged lines hidden (view full) ---

198$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
199.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
200.ENDIF # "$(MAKETARGETS)"!=""
201
202
203# This macro makes calling the make_installer.pl script a bit easier.
204# Just add -p and -msitemplate switches.
205MAKE_INSTALLER_COMMAND= \
206 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
206 @$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
207 -f $(PRJ)$/util$/openoffice.lst \
208 -l $(subst,$(@:s/_/ /:1)_, $(@:b)) \
209 -u $(OUT) \
210 -buildid $(BUILD) \
211 -msilanguage $(MISC)$/win_ulffiles \
212 -format $(@:e:s/.//) \
213 $(VERBOSESWITCH)
214
215# This macro makes calling gen_update_info.pl a bit easier
216# Just add --product switches, and xml input file and redirect output.
217GEN_UPDATE_INFO_COMMAND= \
207 -f $(PRJ)$/util$/openoffice.lst \
208 -l $(subst,$(@:s/_/ /:1)_, $(@:b)) \
209 -u $(OUT) \
210 -buildid $(BUILD) \
211 -msilanguage $(MISC)$/win_ulffiles \
212 -format $(@:e:s/.//) \
213 $(VERBOSESWITCH)
214
215# This macro makes calling gen_update_info.pl a bit easier
216# Just add --product switches, and xml input file and redirect output.
217GEN_UPDATE_INFO_COMMAND= \
218 $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl \
218 @$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl \
219 --buildid $(BUILD) \
220 --arch "$(RTL_ARCH)" \
221 --os "$(RTL_OS)" \
222 --lstfile $(PRJ)$/util$/openoffice.lst \
223 --languages $(subst,$(@:s/_/ /:1)_, $(@:b))
224
219 --buildid $(BUILD) \
220 --arch "$(RTL_ARCH)" \
221 --os "$(RTL_OS)" \
222 --lstfile $(PRJ)$/util$/openoffice.lst \
223 --languages $(subst,$(@:s/_/ /:1)_, $(@:b))
224
225openoffice_%{$(PKGFORMAT:^".") .archive} :
225openoffice_%{$(PKGFORMAT:^".")} :
226 $(MAKE_INSTALLER_COMMAND) \
227 -p Apache_OpenOffice \
228 -msitemplate $(MSIOFFICETEMPLATEDIR)
229 $(GEN_UPDATE_INFO_COMMAND) \
230 --product Apache_OpenOffice \
231 $(PRJ)$/util$/update.xml \
232 > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
233
226 $(MAKE_INSTALLER_COMMAND) \
227 -p Apache_OpenOffice \
228 -msitemplate $(MSIOFFICETEMPLATEDIR)
229 $(GEN_UPDATE_INFO_COMMAND) \
230 --product Apache_OpenOffice \
231 $(PRJ)$/util$/update.xml \
232 > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
233
234openoffice_%{.archive} :
235 $(MAKE_INSTALLER_COMMAND) \
236 -p Apache_OpenOffice \
237 -msitemplate $(MSIOFFICETEMPLATEDIR)
238 $(GEN_UPDATE_INFO_COMMAND) \
239 --product Apache_OpenOffice \
240 $(PRJ)$/util$/update.xml \
241 > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
242
234$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
235openofficewithjre_%{$(PKGFORMAT:^".")} :
236 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR)
237
238$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
239openofficedev_%{$(PKGFORMAT:^".")} :
240 $(MAKE_INSTALLER_COMMAND) \
241 -p Apache_OpenOffice_Dev \

--- 212 unchanged lines hidden ---
243$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
244openofficewithjre_%{$(PKGFORMAT:^".")} :
245 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR)
246
247$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
248openofficedev_%{$(PKGFORMAT:^".")} :
249 $(MAKE_INSTALLER_COMMAND) \
250 -p Apache_OpenOffice_Dev \

--- 212 unchanged lines hidden ---