testing/peptest/Makefile.in
author Nicholas Nethercote <nnethercote@mozilla.com>
Tue, 09 Jul 2013 13:41:16 -0700
changeset 138441 763c1a2daaee63f011c327790fb2ff066284831b
parent 125865 97e443115162450609702fc72c99b6d88d8703d6
child 145900 45097bc3a57898f22a4f3b74f8f8cf7511f5d0a4
permissions -rw-r--r--
Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.

# 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 $(DEPTH)/config/autoconf.mk

include $(topsrcdir)/config/rules.mk

PEPTEST_HARNESS = \
  peptest \
  $(NULL)

PEPTEST_EXTRAS = \
  setup.py \
  runtests.py \
  MANIFEST.in \
  README.md \
  $(NULL)

PEPTEST_TESTS = \
  tests \
  $(NULL)

_DEST_DIR = $(DEPTH)/_tests/peptest
libs:: $(PEPTEST_HARNESS)
	$(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
libs:: $(PEPTEST_EXTRAS)
	$(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
libs:: $(PEPTEST_TESTS)
	$(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)

stage-package: PKG_STAGE = $(DIST)/test-package-stage
stage-package:
	$(NSINSTALL) -D $(PKG_STAGE)/peptest
	@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_HARNESS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)
	@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_EXTRAS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)
	@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(PEPTEST_TESTS)) | (cd $(PKG_STAGE)/peptest && tar -xf -)