gecko/testing/firebug/Makefile.in
2012-05-21 12:12:37 +01:00

55 lines
1.8 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/.
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
otherlicenses = @top_srcdir@/other-licenses
include $(DEPTH)/config/autoconf.mk
MODULE = testing_firebug
include $(topsrcdir)/config/rules.mk
# Firebug requires several 3rd party packages.
# Grab them from the other-licenses directory:
# http://mxr.mozilla.org/mozilla-central/source/other-licenses/
TEST_OTHER_PACKAGES = \
simplejson-2.1.1 \
$(NULL)
TEST_OTHER_EXTRAS = \
virtualenv \
$(NULL)
# Harness packages from the srcdir;
# python packages to be installed IN INSTALLATION ORDER.
# Packages later in the list can depend only on packages earlier in the list.
TEST_HARNESS_PACKAGES = \
mozprofile \
mozprocess \
mozrunner \
$(NULL)
TEST_HARNESS_EXTRAS = \
installfirebug.py \
$(NULL)
TEST_HARNESS_FILES = \
fb_run.py \
fb-test-runner.config \
$(NULL)
stage-package: PKG_STAGE = $(DIST)/test-package-stage
stage-package:
$(NSINSTALL) -D $(PKG_STAGE)/firebug
@echo $(TEST_OTHER_PACKAGES) $(TEST_HARNESS_PACKAGES) > $(PKG_STAGE)/firebug/PACKAGES
@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_HARNESS_PACKAGES)) | (cd $(PKG_STAGE)/firebug && tar -xf -)
@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_HARNESS_FILES)) | (cd $(PKG_STAGE)/firebug && tar -xf -)
@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(TEST_HARNESS_EXTRAS)) | (cd $(PKG_STAGE)/firebug && tar -xf -)
@(cd $(otherlicenses) && tar $(TAR_CREATE_FLAGS) - $(TEST_OTHER_EXTRAS)) | (cd $(PKG_STAGE)/firebug && tar -xf -)
@(cd $(otherlicenses) && tar $(TAR_CREATE_FLAGS) - $(TEST_OTHER_PACKAGES)) | (cd $(PKG_STAGE)/firebug && tar -xf -)