install: fix openbsd man page location

Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
pull/24504/head
Ben Noordhuis 2012-12-17 12:05:14 +01:00
parent 827b2a9b0b
commit 53b826e6ae
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ def files(action):
# with dtrace support now (oracle's "unbreakable" linux) # with dtrace support now (oracle's "unbreakable" linux)
action(['src/node.d'], 'lib/dtrace/') action(['src/node.d'], 'lib/dtrace/')
if 'freebsd' in sys.platform: if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
action(['doc/node.1'], 'man/man1/') action(['doc/node.1'], 'man/man1/')
else: else:
action(['doc/node.1'], 'share/man/man1/') action(['doc/node.1'], 'share/man/man1/')