HomePhabricator

[CMAKE] Generate the man pages at install time

Description

[CMAKE] Generate the man pages at install time

Summary:
The man pages are currently part of our source tree and maintained as
such despite being generated. This diff removes the man pages from the
source tree and generate them as part of the intallation step. The man
pages are still part of the release delivery.

Test Plan:

ninja install-manpages

Check the man pages are installed.

touch ../src/bitcoind.cpp
ninja install-manpages

Check the man pages are regenerated.

touch ../src/bitcoin-cli.cpp
ninja install-manpages

Check only the bitcoin-cli man page is regenerated.

ninja install-manpages-html

Check the html variants of the manpages are installed.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
FabienAuthored on Sep 15 2020, 19:21
abc-botPushed on Sep 15 2020, 19:25
Reviewer
Restricted Project
Differential Revision
D7446: [CMAKE] Generate the man pages at install time
Parents
rABCfd6e000f78c7: [DOC] Fix missing dependency in build-osx instructions
Branches
Unknown
Tags
Unknown