addon-sdk/Makefile.in
author Dave Townsend <dtownsend@oxymoronical.com>
Thu, 14 Feb 2013 09:38:38 -0800
changeset 121924 3b817e00e439958ad966c6a47daaf813e97023f7
parent 120619 729d655f29f6fe09bd65ba1fe861b1051da480d4
child 122390 18fa6e840300a79004c0c87108de235efffcc245
permissions -rw-r--r--
Bug 837915: Updates to the add-on SDK APIs don't propagate to the build. r=gps

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

DEPTH     = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@

include $(topsrcdir)/config/config.mk

TEST_DIRS += test

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