gecko-dev/testing/peptest/Makefile.in

45 строки
1.2 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@
include $(DEPTH)/config/autoconf.mk
MODULE = testing_peptest
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 -)