summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-08-02 01:06:31 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-02 13:51:35 +0200
commit50e00de92a7563f39ff50f9a53c7e2ed15e556c6 (patch)
treea7e24658fa54fac5353da46e9dcf926684f9365f /Makefile
parent34c750d7a96ad29c023d117f55239b94e90d23d5 (diff)
downloadnode-new-50e00de92a7563f39ff50f9a53c7e2ed15e556c6.tar.gz
installer: fix cross-compile installs
The old installer was a JS script, which didn't work if node had been cross-compiled for another architecture. Replace it with a python script. Fixes #3807.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 15546d06d5..795b11a520 100644
--- a/Makefile
+++ b/Makefile
@@ -39,10 +39,10 @@ out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/z
$(PYTHON) tools/gyp_node -f make
install: all
- out/Release/node tools/installer.js install $(DESTDIR)
+ $(PYTHON) tools/install.py $@ $(DESTDIR)
uninstall:
- out/Release/node tools/installer.js uninstall
+ $(PYTHON) tools/install.py $@ $(DESTDIR)
clean:
-rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md