Page MenuHomePhabricator

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

Authored by jasonbcox on Jan 8 2019, 19:15.

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
manpages
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4448
Build 6960: Bitcoin ABC Buildbot (legacy)
Build 6959: arc lint + arc unit