Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: fix man page install path on the BSDs

Fixes #2026.
  • Loading branch information...
bnoordhuis committed Nov 7, 2011
1 parent 1001cf4 commit edcfea5d02c2ea89c2dae92b7ed7f008370187de
Showing with 2 additions and 1 deletion.
  1. +2 −1 wscript
@@ -959,7 +959,8 @@ def build(bld):
# Only install the man page if it exists.
# Do 'make doc install' to build and install it.
if os.path.exists('doc/node.1'):
bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1')
prefix = 'bsd' in sys.platform and '${PREFIX}' or '${PREFIX}/share'
bld.install_files(prefix + '/man/man1/', 'doc/node.1')

bld.install_files('${PREFIX}/bin/', 'tools/node-waf', chmod=0755)
bld.install_files('${LIBDIR}/node/wafadmin', 'tools/wafadmin/*.py')

0 comments on commit edcfea5

Please sign in to comment.
You can’t perform that action at this time.