Page MenuHomePhabricator

[CMAKE] Install the man pages
ClosedPublic

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

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cmake_install_man
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7571
Build 13182: Bitcoin ABC Buildbot (legacy)
Build 13181: arc lint + arc unit

Event Timeline

jasonbcox requested changes to this revision.Sep 24 2019, 22:36
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
doc/man/CMakeLists.txt
11

s/CLI/TX/

This revision now requires changes to proceed.Sep 24 2019, 22:36
This revision is now accepted and ready to land.Sep 25 2019, 17:18
This revision was automatically updated to reflect the committed changes.