diff options
Diffstat (limited to 'tools/install.py')
-rwxr-xr-x | tools/install.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/install.py b/tools/install.py index 028e5ca73b..78d0e5c14b 100755 --- a/tools/install.py +++ b/tools/install.py @@ -191,7 +191,6 @@ def files(action): 'deps/uv/include/uv-private/uv-unix.h', 'deps/uv/include/uv-private/uv-win.h'], 'include/node/uv-private/') - action(['doc/node.1'], 'share/man/man1/') action(['out/Release/node'], 'bin/node') # install unconditionally, checking if the platform supports dtrace doesn't @@ -199,6 +198,11 @@ def files(action): # with dtrace support now (oracle's "unbreakable" linux) action(['src/node.d'], 'lib/dtrace/') + if 'freebsd' in sys.platform: + action(['doc/node.1'], 'man/man1/') + else: + action(['doc/node.1'], 'share/man/man1/') + if 'true' == variables.get('node_install_waf'): waf_files(action) if 'true' == variables.get('node_install_npm'): npm_files(action) |