HomePhabricator

contrib: Add support for out-of-tree builds in gen-manpages.sh

Description

contrib: Add support for out-of-tree builds in gen-manpages.sh

Summary:
This adds support for setting the environment variable BUILDDIR
to point to executables that are outside the source directory.

E.g. to invoke the tool when the build is in $PWD/build:

bash
BUILDDIR=$PWD/build contrib/devtools/gen-manpages.sh

Test Plan:

BUILDDIR=$PWD/build-cmake contrib/devtools/gen-manpages.sh

New manpages should be generated.

Reviewers: deadalnix, Fabien, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity, schancel

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jan 31 2018, 10:22
jasonbcoxCommitted on Jan 8 2019, 20:50
jasonbcoxPushed on Jan 8 2019, 20:50
Reviewer
Restricted Project
Differential Revision
D2271: contrib: Add support for out-of-tree builds in gen-manpages.sh
Parents
rABCa9d157640140: Move scheduler/threadGroup into common-init instead of per-app
Branches
Unknown
Tags
Unknown