Page MenuHomePhabricator

[CMAKE] Install the man pages

Authored by Fabien on Sep 24 2019, 15:14.



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 install

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

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Sep 24 2019, 15:14
Herald added a reviewer: Restricted Project. · View Herald TranscriptSep 24 2019, 15:14
jasonbcox requested changes to this revision.Sep 24 2019, 22:36
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
11 ↗(On Diff #13114)


This revision now requires changes to proceed.Sep 24 2019, 22:36
Fabien updated this revision to Diff 13132.Sep 25 2019, 05:46

Fix copy/paste error.

jasonbcox accepted this revision.Sep 25 2019, 17:18
This revision is now accepted and ready to land.Sep 25 2019, 17:18
This revision was automatically updated to reflect the committed changes.