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
Lint
Lint Not Applicable
Unit
Tests Not Applicable