summaryrefslogtreecommitdiffstats
path: root/comm/suite/build.mk
blob: 85fc6c99840a0807ced932e6a2d3efd9a26071ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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/.

package:
	@$(MAKE) -C comm/suite/installer

package-compare:
	@$(MAKE) -C comm/suite/installer package-compare

install::
	@$(MAKE) -C comm/suite/installer install

source-package::
	@$(MAKE) -C comm/suite/installer source-package

upload::
	@$(MAKE) -C comm/suite/installer upload

source-upload::
	@$(MAKE) -C comm/suite/installer source-upload

# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
merge-% installers-% langpack-% chrome-% clobber-%:
	$(MAKE) -j1 -C comm/suite/locales $@

# mochitests need to be run from the Mozilla build system
ifdef ENABLE_TESTS
# Backend is implemented in mozilla/testing/testsuite-targets.mk.
# This part is copied from mozilla/browser/build.mk.

mochitest-browser-chrome:
	$(RUN_MOCHITEST) --browser-chrome
	$(CHECK_TEST_ERROR)

mochitest:: mochitest-browser-chrome

.PHONY: mochitest-browser-chrome
endif