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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox created this revision.Jan 8 2019, 19:15
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 8 2019, 19:15
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Jan 8 2019, 20:15
This revision is now accepted and ready to land.Jan 8 2019, 20:15
This revision was automatically updated to reflect the committed changes.