build: include bitcoin.conf in build outputs

copy over bitcoin.conf during the build process.
this means `contrib/devtools/gen-bitcoin-conf.sh` will need
to be run and the generated file committed during the release process.

this is the same process used for generating man pages for each release.
This commit is contained in:
josibake 2021-12-22 15:33:20 +01:00
parent 6aac946f49
commit 50635d27b4
No known key found for this signature in database
GPG key ID: 8ADCB558C4F33D65

View file

@ -368,6 +368,10 @@ mkdir -p "$DISTSRC"
;;
esac
# copy over the example bitcoin.conf file. if contrib/devtools/gen-bitcoin-conf.sh
# has not been run before buildling, this file will be a stub
cp "${DISTSRC}/share/examples/bitcoin.conf" "${DISTNAME}/"
# Finally, deterministically produce {non-,}debug binary tarballs ready
# for release
case "$HOST" in