gecko-dev/browser/build.mk
Axel Hecht 3df95ba269 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
2017-06-16 12:13:55 +02:00

58 lines
1.2 KiB
Makefile

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
installer:
@$(MAKE) -C browser/installer installer
package:
@$(MAKE) -C browser/installer
package-compare:
@$(MAKE) -C browser/installer package-compare
stage-package:
@$(MAKE) -C browser/installer stage-package
install::
@$(MAKE) -C browser/installer install
clean::
@$(MAKE) -C browser/installer clean
distclean::
@$(MAKE) -C browser/installer distclean
source-package::
@$(MAKE) -C browser/installer source-package
upload::
@$(MAKE) -C browser/installer upload
source-upload::
@$(MAKE) -C browser/installer source-upload
hg-bundle::
@$(MAKE) -C browser/installer hg-bundle
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
mochitest-browser-chrome:
$(RUN_MOCHITEST) --flavor=browser
$(CHECK_TEST_ERROR)
mochitest:: mochitest-browser-chrome
.PHONY: mochitest-browser-chrome
endif