Page MenuHomePhabricator

[CMAKE] Install the man pages
ClosedPublic

Authored by Fabien on Tue, Sep 24, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Tue, Sep 24, 15:14
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Sep 24, 15:14
jasonbcox requested changes to this revision.Tue, Sep 24, 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.Tue, Sep 24, 22:36
Fabien updated this revision to Diff 13132.Wed, Sep 25, 05:46

Fix copy/paste error.

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