From 6c755298cb13fca0c4fe51177885d787a3ddce0e Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 18 Feb 2024 02:40:58 +0800 Subject: [PATCH] tools: install manpage to share/man for FreeBSD FreeBSD now install manpages to share/man/ instead of man/. Refs: https://cgit.freebsd.org/ports/commit/?id=003a571d1d6585196545295efc181514f171c4c4 Refs: https://cgit.freebsd.org/ports/commit/?id=99ea45a72a2800fc90e98ee225a42c3e88da8602 Refs: https://cgit.freebsd.org/ports/commit/?id=94cb251581ce0b94a40dee0728884367c3a4a82d --- tools/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.py b/tools/install.py index 8f816dc1c1ed50..bf54249b66c0d4 100755 --- a/tools/install.py +++ b/tools/install.py @@ -182,7 +182,7 @@ def files(options, action): action(options, [os.path.join(options.v8_dir, 'tools/gdbinit')], 'share/doc/node/') action(options, [os.path.join(options.v8_dir, 'tools/lldb_commands.py')], 'share/doc/node/') - if 'freebsd' in sys.platform or 'openbsd' in sys.platform: + if 'openbsd' in sys.platform: action(options, ['doc/node.1'], 'man/man1/') else: action(options, ['doc/node.1'], 'share/man/man1/')