summaryrefslogtreecommitdiff
path: root/testing/mochitest/Makefile.in
blob: 7fb42f0ff1eda31a63f098652b4d9a7b93270f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# 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/.


_DEST_DIR = $(DEPTH)/_tests/$(relativesrcdir)

include $(topsrcdir)/config/rules.mk
# We're installing to _tests/testing/mochitest, so this is the depth
# necessary for relative objdir paths.
TARGET_DEPTH = ../../..
include $(topsrcdir)/build/automation-build.mk

libs:: 
	(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - mochijar) | (cd $(_DEST_DIR) && tar -xf -)

$(_DEST_DIR):
	$(NSINSTALL) -D $@