contrib: fix BUILDDIR in gen-bitcoin-conf script and gen-manpages.py

the cmake build steps suggest a build/ directory, which breaks these
scripts. Additionally, in-tree builds are no longer allowed, so it makes
sense to update the code and the README accordingly.
This commit is contained in:
jurraca
2025-01-27 20:12:59 +00:00
parent 0a931a9787
commit 63a8791e15
3 changed files with 10 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ if not topdir:
topdir = r.stdout.rstrip()
# Get input and output directories.
builddir = os.getenv('BUILDDIR', topdir)
builddir = os.getenv('BUILDDIR', os.path.join(topdir, 'build'))
mandir = os.getenv('MANDIR', os.path.join(topdir, 'doc/man'))
# Verify that all the required binaries are usable, and extract copyright