addon-sdk/Makefile.in
author Dave Townsend <dtownsend@oxymoronical.com>
Tue, 05 Nov 2013 13:51:58 -0800
changeset 168278 f4fdb40f96b1321df9417302ac970ba66e2ab3da
parent 164511 7c03811dad30e02fa4f0118ff5159246c0c129ef
child 178841 9da8bc670c0336331b89785f71191cf1730d4dbd
permissions -rw-r--r--
Bug 935220: Uplift Add-on SDK to Firefox. r=me https://github.com/mozilla/addon-sdk/compare/firefox27...50697e6182cb4f79f9605b7cd1d1f5084cfaf03f

# 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

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/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