install: fix freebsd man page location
Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
This commit is contained in:
parent
4d0fcd515f
commit
22965da799
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user