HomePhabricator

[CMAKE] Fix version in the man2html template

Description

[CMAKE] Fix version in the man2html template

Summary:
The template uses PROJECT_VERSION, which might be empty for subprojects.
What we want here is the top level project version, so the right
variable is CMAKE_PROJECT_VERSION.

Test Plan:

cmake -GNinja ..

Check the script has the correct version number.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
FabienAuthored on Oct 5 2020, 18:49
FabienPushed on Oct 5 2020, 18:55
Reviewer
Restricted Project
Differential Revision
D7771: [CMAKE] Fix version in the man2html template
Parents
rABC67f690d306a4: build: improve sed robustness by not using sed
Branches
Unknown
Tags
Unknown