File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ gen-manpages.py
8282A small script to automatically create manpages in ../../doc/man by running the release binaries with the -help option.
8383This requires help2man which can be found at: https://www.gnu.org/software/help2man/
8484
85- With in-tree builds this tool can be run from any directory within the
86- repository. To use this tool with out-of-tree builds set ` BUILDDIR ` . For
87- example:
85+ This script assumes a build directory named ` build ` as suggested by example build documentation.
86+ To use it with a different build directory, set ` BUILDDIR ` .
87+ For example:
8888
8989``` bash
90- BUILDDIR=$PWD /build contrib/devtools/gen-manpages.py
90+ BUILDDIR=$PWD /my- build-dir contrib/devtools/gen-manpages.py
9191```
9292
9393headerssync-params.py
@@ -107,12 +107,12 @@ Generates a bitcoin.conf file in `share/examples/` by parsing the output from `b
107107release process to include a bitcoin.conf with the release binaries and can also be run by users to generate a file locally.
108108When generating a file as part of the release process, make sure to commit the changes after running the script.
109109
110- With in-tree builds this tool can be run from any directory within the
111- repository. To use this tool with out-of-tree builds set ` BUILDDIR ` . For
112- example:
110+ This script assumes a build directory named ` build ` as suggested by example build documentation.
111+ To use it with a different build directory, set ` BUILDDIR ` .
112+ For example:
113113
114114``` bash
115- BUILDDIR=$PWD /build contrib/devtools/gen-bitcoin-conf.sh
115+ BUILDDIR=$PWD /my- build-dir contrib/devtools/gen-bitcoin-conf.sh
116116```
117117
118118security-check.py and test-security-check.py
Original file line number Diff line number Diff line change 55
66export LC_ALL=C
77TOPDIR=${TOPDIR:- $(git rev-parse --show-toplevel)}
8- BUILDDIR=${BUILDDIR:- $TOPDIR }
8+ BUILDDIR=${BUILDDIR:- $TOPDIR / build }
99BINDIR=${BINDIR:- $BUILDDIR / src}
1010BITCOIND=${BITCOIND:- $BINDIR / bitcoind}
1111SHARE_EXAMPLES_DIR=${SHARE_EXAMPLES_DIR:- $TOPDIR / share/ examples}
Original file line number Diff line number Diff line change 4040 topdir = r .stdout .rstrip ()
4141
4242# Get input and output directories.
43- builddir = os .getenv ('BUILDDIR' , topdir )
43+ builddir = os .getenv ('BUILDDIR' , os . path . join ( topdir , 'build' ) )
4444mandir = os .getenv ('MANDIR' , os .path .join (topdir , 'doc/man' ))
4545
4646# Verify that all the required binaries are usable, and extract copyright
You can’t perform that action at this time.
0 commit comments