HomePhabricator

[CMAKE] Install the man pages

Description

[CMAKE] Install the man pages

Summary:
This adds support for the man pages installation.
The last directory is hardcoded to man1. This is correct as long as
the man files are hardcoded to section 1 only.

Test Plan:
For all platforms:

mkdir -p buildcmake/install && cd install
cmake -GNinja .. -DCMAKE_INSTALL_PREFIX="install" # Other options

depending on the platform

ninja
ninja install

Check that the man pages are installed under install/share/man/man1.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D4147

Details

Provenance
FabienAuthored on Sep 23 2019, 14:58
FabienPushed on Sep 25 2019, 18:49
Reviewer
Restricted Project
Differential Revision
D4147: [CMAKE] Install the man pages
Parents
rABC4dab36ebb168: [CMAKE] Add the check-security target
Branches
Unknown
Tags
Unknown