diff options
author | Malte-Thorben Bruns <skenqbx@googlemail.com> | 2012-04-22 00:40:48 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-23 03:52:26 +0400 |
commit | ea50ebd36da2da4a7a8b5fe6e0925ecd113c9d59 (patch) | |
tree | 605112c3cc3579faed8ba7a722db8daf8b6831e1 /Makefile | |
parent | e16021340dd38895b8c7f310355e3a79881f45ed (diff) |
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 |