Bug 1614240 - Skip language pack creation for artifact builds. r=mkmelin
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 10 Feb 2020 12:08:36 +1300
changeset 38151 9f1fae8a80cd64a52f57b33a475df7bc2d4e306b
parent 38150 e0dbdcb71075c5e620718d95f6b3c45ebe1ea2b0
child 38152 3f3fc2c0d80474dff5953969f765e16937dde150
push id398
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:10:28 +0000
reviewersmkmelin
bugs1614240
Bug 1614240 - Skip language pack creation for artifact builds. r=mkmelin
mail/locales/Makefile.in
--- a/mail/locales/Makefile.in
+++ b/mail/locales/Makefile.in
@@ -82,17 +82,22 @@ endif
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
 	@$(MAKE) multilocale.txt-$* AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
 
 
 package-win32-installer: $(SUBMAKEFILES)
 	$(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer
 
+ifdef MOZ_ARTIFACT_BUILDS
+langpack:
+	@echo 'Skipping language pack creation'
+else
 langpack: langpack-$(AB_CD)
+endif
 
 # This is a generic target that will make a langpack, repack ZIP (+tarball)
 # builds, and repack an installer if applicable. It is called from the
 # tinderbox scripts. Alter it with caution.
 
 installers-%: IS_LANGUAGE_REPACK=1
 installers-%:
 	@$(MAKE) clobber-$*