2013-02-19 16:18:59 -08:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
2013-03-06 12:08:47 -08:00
|
|
|
export PYMAKE = $(.PYMAKE)
|
|
|
|
|
2013-02-19 16:18:59 -08:00
|
|
|
libs::
|
|
|
|
$(PYTHON) $(srcdir)/copy_source.py $(topsrcdir) $(srcdir)/source/lib $(FINAL_TARGET)/modules/commonjs >copy_source.mk
|
|
|
|
$(MAKE) -f copy_source.mk libs
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
TEST_FILES = \
|
|
|
|
source/app-extension \
|
|
|
|
source/bin \
|
|
|
|
source/data \
|
|
|
|
source/python-lib \
|
|
|
|
source/test \
|
|
|
|
source/package.json \
|
|
|
|
source/mapping.json \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Remove this once the test harness uses the APIs built into Firefox
|
|
|
|
TEST_FILES += source/lib
|
|
|
|
|
|
|
|
PKG_STAGE = $(DIST)/test-package-stage
|
|
|
|
|
|
|
|
stage-tests-package:: $(TEST_FILES)
|
|
|
|
$(INSTALL) $^ $(PKG_STAGE)/jetpack
|