makefile.mk (1b739e60) | makefile.mk (aa3f9146) |
---|---|
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 --- 184 unchanged lines hidden (view full) --- 193 194$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")} 195.IF "$(MAKETARGETS)"!="" 196.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 197$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")} 198$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS) 199.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 200.ENDIF # "$(MAKETARGETS)"!="" | 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 --- 184 unchanged lines hidden (view full) --- 193 194$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")} 195.IF "$(MAKETARGETS)"!="" 196.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 197$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")} 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 \ 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 \ 219 --buildid $(BUILD) \ 220 --arch "$(RTL_ARCH)" \ 221 --os "$(RTL_OS)" \ 222 --lstfile $(PRJ)$/util$/openoffice.lst \ 223 --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) 224 |
|
201openoffice_%{$(PKGFORMAT:^".") .archive} : | 225openoffice_%{$(PKGFORMAT:^".") .archive} : |
202 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH) 203 $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product Apache_OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml | 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 |
204 205$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")} 206openofficewithjre_%{$(PKGFORMAT:^".")} : | 233 234$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")} 235openofficewithjre_%{$(PKGFORMAT:^".")} : |
207 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Aapche_OpenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH) | 236 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR) |
208 209$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")} 210openofficedev_%{$(PKGFORMAT:^".")} : | 237 238$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")} 239openofficedev_%{$(PKGFORMAT:^".")} : |
211 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH) 212 $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product Apache_OpenOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml | 240 $(MAKE_INSTALLER_COMMAND) \ 241 -p Apache_OpenOffice_Dev \ 242 -msitemplate $(MSIOFFICETEMPLATEDIR) 243 $(GEN_UPDATE_INFO_COMMAND) \ 244 --product Apache_OpenOffice_Dev \ 245 $(PRJ)$/util$/update.xml \ 246 > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml |
213 214$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")} 215ooolanguagepack_%{$(PKGFORMAT:^".")} : | 247 248$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")} 249ooolanguagepack_%{$(PKGFORMAT:^".")} : |
216 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH) | 250 $(MAKE_INSTALLER_COMMAND) \ 251 -p Apache_OpenOffice \ 252 -msitemplate $(MSILANGPACKTEMPLATEDIR) \ 253 -languagepack |
217 218$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")} 219ooodevlanguagepack_%{$(PKGFORMAT:^".")} : | 254 255$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")} 256ooodevlanguagepack_%{$(PKGFORMAT:^".")} : |
220 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH) | 257 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack |
221 222$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")} 223sdkoo_%{$(PKGFORMAT:^".")} : | 258 259$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")} 260sdkoo_%{$(PKGFORMAT:^".")} : |
224 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH) | 261 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip |
225 226$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")} 227sdkoodev_%{$(PKGFORMAT:^".")} : | 262 263$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")} 264sdkoodev_%{$(PKGFORMAT:^".")} : |
228 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH) | 265 $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip |
229 230.IF "$(MAKETARGETS)"!="" 231.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 232$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")} 233$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS) 234.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 235.ENDIF # "$(MAKETARGETS)"!="" 236 --- 37 unchanged lines hidden --- | 266 267.IF "$(MAKETARGETS)"!="" 268.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 269$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")} 270$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS) 271.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" 272.ENDIF # "$(MAKETARGETS)"!="" 273 --- 37 unchanged lines hidden --- |