Skip to content
This repository
Browse code

install: fix freebsd man page location

Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
  • Loading branch information...
commit 22965da799e843525a1146ca37306dc4c740ffc1 1 parent 4d0fcd5
Ben Noordhuis bnoordhuis authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 tools/install.py
6 tools/install.py
@@ -191,7 +191,6 @@ def files(action):
191 191 'deps/uv/include/uv-private/uv-unix.h',
192 192 'deps/uv/include/uv-private/uv-win.h'],
193 193 'include/node/uv-private/')
194   - action(['doc/node.1'], 'share/man/man1/')
195 194 action(['out/Release/node'], 'bin/node')
196 195
197 196 # install unconditionally, checking if the platform supports dtrace doesn't
@@ -199,6 +198,11 @@ def files(action):
199 198 # with dtrace support now (oracle's "unbreakable" linux)
200 199 action(['src/node.d'], 'lib/dtrace/')
201 200
  201 + if 'freebsd' in sys.platform:
  202 + action(['doc/node.1'], 'man/man1/')
  203 + else:
  204 + action(['doc/node.1'], 'share/man/man1/')
  205 +
202 206 if 'true' == variables.get('node_install_waf'): waf_files(action)
203 207 if 'true' == variables.get('node_install_npm'): npm_files(action)
204 208

0 comments on commit 22965da

Please sign in to comment.
Something went wrong with that request. Please try again.