1# vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent:
2# This Source Code Form is subject to the terms of the Mozilla Public
3# License, v. 2.0. If a copy of the MPL was not distributed with this
4# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6_DEST_DIR = $(DEPTH)/_tests/reftest
7
8include $(topsrcdir)/config/rules.mk
9
10# We're installing to _tests/reftest
11TARGET_DEPTH = ../..
12include $(topsrcdir)/build/automation-build.mk
13
14# copy harness and the reftest extension bits to $(_DEST_DIR)
15# This needs to happen after jar.mn handling from rules.mk included above.
16# The order of the :: rules ensures that.
17libs::
18	(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - reftest) | (cd $(_DEST_DIR) && tar -xf -)
19