bug 1370506, add l10n-related targets to top-level build.mk, r=glandium

These rules are just convenience, both for developers and automation.
Instead of having to hard-code to run make in a particular directory to
do l10n-repacks, you can now just do

./mach build installers-de

and that's that.

MozReview-Commit-ID: C4WKXljjN7n

--HG--
extra : rebase_source : f305bb2bc0ddb4712c8b28f5225fd8ad22a16055
This commit is contained in:
Axel Hecht 2017-06-16 12:13:55 +02:00
parent d5b161f5d0
commit 3df95ba269
2 changed files with 16 additions and 2 deletions

View File

@ -35,8 +35,13 @@ source-upload::
hg-bundle::
@$(MAKE) -C browser/installer hg-bundle
l10n-check::
@$(MAKE) -C browser/locales l10n-check
l10n-check wget-en-US:
@$(MAKE) -C browser/locales $@
# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
merge-% installers-% langpack-% chrome-%:
$(MAKE) -j1 -C browser/locales $@
ifdef ENABLE_TESTS
# Implemented in testing/testsuite-targets.mk

View File

@ -51,6 +51,15 @@ deb: package
upload::
@$(MAKE) -C mobile/android/installer upload
wget-en-US:
@$(MAKE) -C mobile/android/locales $@
# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
# Not exposing langpack-% because that doesn't work on Android
merge-% installers-% chrome-%:
$(MAKE) -j1 -C mobile/android/locales $@
ifdef ENABLE_TESTS
# Implemented in testing/testsuite-targets.mk