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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #13114)

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.