Skip to content

Merge manpage generation into the build system

This ensures the installed manpages always match the installed version, and simplifies the release process. An optional dependency on help2man is added (default on, can be avoided with -DENABLE_MAN=OFF).

Since the autotools build system is deprecated, manpages are simply removed from the autotools build.

Manpages are intended to be used on Unix-like platforms. Therefore, the build instructions for Windows include -DENABLE_MAN=OFF, and in Gitian manpages are now excluded from the Windows releases (zip file and installer).

This also fixes a bug in the Gitian build where it would unnecessarily extract the source tarball without using the extracted stuff.

Test plan:

  • ./autogen.sh;./configure --enable-deprecated-build-system;make install
  • cmake -GNinja . -DENABLE_MAN=OFF;ninja install
  • cmake -GNinja . -DENABLE_MAN=ON;ninja install;man bitcoind
  • Gitian builds for all platforms (verify hashes, inspect Linux/MacOS/Windows zip files, try Windows installer)
ce5eed20d334b6e370fa3282752e500f0456ae989111c70728a513f9b3c79f01  bitcoin-cash-node-22.3.0-aarch64-linux-gnu-debug.tar.gz
fb917169b771bc165ef24c4be5d641264f590dbec392becf1a805d61074eee6f  bitcoin-cash-node-22.3.0-aarch64-linux-gnu.tar.gz
3ec04566c7a0bd821fd298b304b9d31a2b780fe1043dd9d51a3755c62185b95d  bitcoin-cash-node-22.3.0-arm-linux-gnueabihf-debug.tar.gz
19eafd6d0d4ddb308e932fe7630795b6d6377f946db8df82473c23c59091fb74  bitcoin-cash-node-22.3.0-arm-linux-gnueabihf.tar.gz
c60e9c2370cbb4d91e208c134405afd2331eeb961ae5cf93c2d0c625f9a6c5a8  bitcoin-cash-node-22.3.0-i686-pc-linux-gnu-debug.tar.gz
b8bc54172c9ef2cdc3e6ee45a15a83199e0b7385d30ebe3ae8bc576a561796b8  bitcoin-cash-node-22.3.0-i686-pc-linux-gnu.tar.gz
e2a42787ea8ad812eb0c9ad707767721335cf5ec76050c83ab56f9d662a260a3  bitcoin-cash-node-22.3.0-x86_64-linux-gnu-debug.tar.gz
599da5fca8a7f88c7980ea6e66b563daa81da404d69516b9a6a8d9993063437b  bitcoin-cash-node-22.3.0-x86_64-linux-gnu.tar.gz
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901  src/bitcoin-cash-node-22.3.0.tar.gz
e9afa3a0ec97775997dc6651764854630c8a411f2d56761550ef53e404925d2a  bitcoin-cash-node-linux-res.yml

42a7b0cc0e40dc3d12692b08f3768cb5bcf20b3f4d3db2b39f2785978953d7ea  bitcoin-cash-node-22.3.0-win-unsigned.tar.gz
23aa99fe7c2262b1a9540917433c46affa28f430ee3e6df8f6afb51a662ac302  bitcoin-cash-node-22.3.0-win64-debug.zip
d52dd3b74f2e51ea437d1381111e5cb2c102fe3f3488800dc41eb69a5335a997  bitcoin-cash-node-22.3.0-win64-setup-unsigned.exe
8fffbab8839cc848935bcf3a2d01e98e4c9168797f1a1bb20d70dc9f5f864869  bitcoin-cash-node-22.3.0-win64.zip
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901  src/bitcoin-cash-node-22.3.0.tar.gz
b61faab213dcea916548d44cc0912fdb799ff9a106bbbf85beb856a6f58b28e3  bitcoin-cash-node-win-res.yml

2292129491b93521dd1a7f14377dd26fb7cfdbae6363ff2d9f5eae1efe21ecc2  bitcoin-cash-node-22.3.0-osx-unsigned.dmg
86d25e7ab1c8e1c7bc760c2adf35a27e55b150640f7770b76d4025e6eb7946e8  bitcoin-cash-node-22.3.0-osx-unsigned.tar.gz
8799ba70f222cd2c12a6c4525a91cd21310a16ec95182058014cbd9851788ebd  bitcoin-cash-node-22.3.0-osx64.tar.gz
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901  src/bitcoin-cash-node-22.3.0.tar.gz
5d6fe74ce00a9d3d25f53b33c4fd7b2df698d0c589d3900df9ad79501362fd69  bitcoin-cash-node-osx-res.yml
Edited by BigBlockIfTrue

Merge request reports