Bug 927775 - Cleanup xpcom/typelib/xpt/tools/Makefile.in. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 22 Oct 2013 10:02:49 +0900
changeset 166394 2a344cf7aca2db14a7a6a3982d70459da8c87f7d
parent 166393 6722e803c598e6719c2be391f302f822ec5538d9
child 166395 b6c3b8cbf7ee4029a2aca564f4253295ff247f12
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs927775
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 927775 - Cleanup xpcom/typelib/xpt/tools/Makefile.in. r=mshal
xpcom/typelib/xpt/tools/Makefile.in
--- a/xpcom/typelib/xpt/tools/Makefile.in
+++ b/xpcom/typelib/xpt/tools/Makefile.in
@@ -1,19 +1,15 @@
 #
 # 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/.
 
 INTERNAL_TOOLS	= 1
 
-SDK_BINARY = \
-  xpt.py \
-  $(NULL)
-
-include $(topsrcdir)/config/rules.mk
+XPT_TOOL_FILES := xpt.py
+# SDK_BIN_DIR is declared in config.mk, so this needs to be a deferred
+# assignment.
+XPT_TOOL_DEST = $(SDK_BIN_DIR)
+XPT_TOOL_TARGET := export
+INSTALL_TARGETS += XPT_TOOL
 
-# Install xpt.py in SDK early
-export::
-	@$(MAKE) libs
-
-check::
-	$(PYTHON) $(srcdir)/runtests.py
+PYTHON_UNIT_TESTS := runtests.py