diff options
author | Malte-Thorben Bruns <skenqbx@googlemail.com> | 2012-04-21 22:40:48 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-23 01:52:26 +0200 |
commit | ea50ebd36da2da4a7a8b5fe6e0925ecd113c9d59 (patch) | |
tree | 605112c3cc3579faed8ba7a722db8daf8b6831e1 /Makefile | |
parent | e16021340dd38895b8c7f310355e3a79881f45ed (diff) | |
download | nodejs-ea50ebd36da2da4a7a8b5fe6e0925ecd113c9d59.tar.gz nodejs-ea50ebd36da2da4a7a8b5fe6e0925ecd113c9d59.tar.bz2 nodejs-ea50ebd36da2da4a7a8b5fe6e0925ecd113c9d59.zip |
build: support make install "DESTDIR=/path"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ BUILDTYPE ?= Release PYTHON ?= python +DESTDIR ?= # BUILDTYPE=Debug builds both release and debug builds. If you want to compile # just the debug build, run `make -C out BUILDTYPE=Debug` instead. @@ -33,7 +34,7 @@ out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/z tools/gyp_node -f make install: all - out/Release/node tools/installer.js install + out/Release/node tools/installer.js install $(DESTDIR) uninstall: out/Release/node tools/installer.js uninstall |