Browse Source

installer: copy `node.d` only with node_use_dtrace

v0.10.27-release
Fedor Indutny 11 years ago
parent
commit
e0c5302590
  1. 6
      tools/install.py

6
tools/install.py

@ -129,10 +129,8 @@ def subdir_files(path, dest, action):
def files(action): def files(action):
action(['out/Release/node'], 'bin/node') action(['out/Release/node'], 'bin/node')
# install unconditionally, checking if the platform supports dtrace doesn't if 'true' == variables.get('node_use_dtrace'):
# work when cross-compiling and besides, there's at least one linux flavor action(['out/Release/node.d'], 'lib/dtrace/node.d')
# with dtrace support now (oracle's "unbreakable" linux)
action(['out/Release/node.d'], 'lib/dtrace/node.d')
if 'freebsd' in sys.platform or 'openbsd' in sys.platform: if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
action(['doc/node.1'], 'man/man1/') action(['doc/node.1'], 'man/man1/')

Loading…
Cancel
Save