summaryrefslogtreecommitdiff
path: root/tools/install.py
Commit message (Collapse)AuthorAgeFilesLines
* installer: copy `node.d` only with node_use_dtraceFedor Indutny2014-02-211-4/+2
|
* gyp: specialize node.d for freebsdFedor Indutny2014-02-211-1/+1
| | | | | `node.d` should use `psinfo.d` instead of `procfs.d` and have statically defined architecture on FreeBSD.
* build: install common.gypi along with headersT.C. Hollingsworth2013-12-201-0/+1
| | | | node-gyp requires this file
* build: unix install node and dep library headersTimothy J Fontaine2013-12-181-0/+36
| | | | | Restores functionality from v0.8 where module authors may not be relying on gyp for building their modules.
* install: don't install man page twiceBen Noordhuis2013-03-161-1/+0
| | | | | | | Looks like a merge conflict in 77ed12f left in the old, unconditional install rule. Remove it, the new and improved rule is a few lines down. Fixes #5044.
* Merge remote-tracking branch 'ry/v0.8' into masterisaacs2013-01-181-1/+6
|\ | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog src/node_version.h test/simple/test-buffer.js
| * install: add simplejson fallbackChris Dent2013-01-151-1/+6
| | | | | | | | | | | | | | | | | | | | Make tools/install.py work with python 2.5 2.5 is still fairly widespread and does not include a json lib as standard. Most python folk will have simplejson if they are in that boat. In general it seems a bit tricky to solve this perfectly...
* | Merge remote-tracking branch 'origin/v0.8'Ben Noordhuis2012-12-201-1/+1
|\ \ | |/
| * install: fix openbsd man page locationBen Noordhuis2012-12-171-1/+1
| | | | | | | | Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
* | Merge remote-tracking branch 'ry/v0.8' into masterisaacs2012-12-131-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog deps/uv/test/test-spawn.c deps/uv/uv.gyp src/cares_wrap.cc src/node.cc src/node_version.h test/simple/test-buffer.js tools/gyp/pylib/gyp/common.py tools/install.py
| * install: fix freebsd man page locationBen Noordhuis2012-12-021-1/+5
| | | | | | | | Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
* | installer: don't install header filesBen Noordhuis2012-09-101-21/+0
| | | | | | | | | | They are no longer necessary now that node-waf has been removed. People need to switch to node-gyp.
* | installer: reapply b21c8e0b, honor --without-npmBen Noordhuis2012-09-041-1/+1
| | | | | | | | | | | | | | This bug was already fixed in the v0.8 branch but git skips the patch when merging v0.8 into master. Reapply it manually. Fixes #3961.
* | Merge remote-tracking branch 'origin/v0.8'Ben Noordhuis2012-08-171-3/+13
|\ \ | |/ | | | | | | | | | | | | Conflicts: ChangeLog src/node_version.h test/message/stdin_messages.out tools/install.py
| * install: prevent a KeyError from being thrown when PORTABLE is not setNathan Rajlich2012-08-061-1/+1
| |
| * install: add a "portable" mode to the shebang-rewriting logicNathan Rajlich2012-08-061-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | This "portable" mode rewrites the npm shebang to use the "node" executable in the same directory relative to the "npm" script. This makes the "npm" script "just work" even when "node" is not in the user's $PATH. This mode is necessary for the precompiled binary packages that may potentially be extracted to anywhere. The regular shebang-rewriting logic would normally set the npm script's shebang to "/bin/node" which will not be present on anyone's machine. In the end, we want the precompiled packages to be as user-friendly as possible.
| * install: install the "wafadmin/Tools" files into the correct dirNathan Rajlich2012-08-061-4/+5
| | | | | | | | Previously they were going into just "wafadmin" and node-waf wasn't working.
| * install: use os.path.join() to create the npm shebangNathan Rajlich2012-08-051-2/+3
| | | | | | | | Prettier formatting for the shebang if the "prefix" ends with a /
| * install: install the "wafadmin" files into the correct directoryNathan Rajlich2012-08-041-1/+1
| | | | | | | | | | Before they were just being copied into "lib/node/". Now they go into "lib/node/wafadmin/".
| * installer: prevent ETXTBSY errorsBen Noordhuis2012-08-041-0/+1
| | | | | | | | | | | | The installer does what amounts to `cp -p`. If the node binary is in use at the time of the copy, it'd fail with a ETXTBSY error. That's why it's unlinked first now.
| * installer: honor --without-npm, default install pathBen Noordhuis2012-08-041-3/+3
| | | | | | | | | | | | | | * honor the --without-waf and --without-npm configure switches * a small logic bug made the installer script install to $PWD instead of /usr/local if --prefix= was not passed to configure
* | addon: remove node-waf, superseded by node-gypBen Noordhuis2012-08-141-54/+0
| |
* | installer: remove c-ares header filesBen Noordhuis2012-08-081-3/+1
|/ | | | Fixes #3847.
* installer: fix cross-compile installsBen Noordhuis2012-08-021-0/+214
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.