Browse Source

install: fix freebsd man page location

Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
v0.8.16-release
Ben Noordhuis 12 years ago
parent
commit
22965da799
  1. 6
      tools/install.py

6
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)

Loading…
Cancel
Save