Bug 485935 - Build the default langpack (usually en-US) as part of make package, r=ted

--HG--
extra : rebase_source : 9c11818058da2a5da0c2c67cd03d8a6be5755d93
This commit is contained in:
Benjamin Smedberg 2009-04-07 13:21:57 -04:00
parent 2e2fef4e9c
commit 29704cf293
2 changed files with 7 additions and 0 deletions

View File

@ -110,6 +110,11 @@ endif
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
libs::
$(MAKE) -C $(DEPTH)/browser/locales langpack PKG_LANGPACK_PATH=
UPLOAD_EXTRA_FILES += $(DIST)/$(PKG_LANGPACK_BASENAME).xpi
installer:: removed-files
ifdef INSTALLER_DIR
$(MAKE) -C $(INSTALLER_DIR)

View File

@ -334,6 +334,8 @@ langpack-%: libs-%
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest -x chrome/$(AB_CD).manifest
langpack: langpack-$(AB_CD)
# 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.