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)
b3874870596a484c30b7dd34b40ec4f260b924f38e9a3f5dfd4f1323d8c75989 bitcoin-cash-node-22.3.0-aarch64-linux-gnu-debug.tar.gz
39fe673e64745bc745e8d5acb5f08446c717fee203c62db0b898aa4a1e5cc684 bitcoin-cash-node-22.3.0-aarch64-linux-gnu.tar.gz
cc7c38dd9a69c3b0f1861aef7b15907d1cb4550c68d2022eab948de68b8ec0e8 bitcoin-cash-node-22.3.0-arm-linux-gnueabihf-debug.tar.gz
12cdfb6f475dbbd4687a47964743191de43310d4a1c36dc5df0d9253a464f33b bitcoin-cash-node-22.3.0-arm-linux-gnueabihf.tar.gz
2ec4abd9afa57770b00e154f64aef68a8c0b1426df3a14a9c8be511b2305e26f bitcoin-cash-node-22.3.0-i686-pc-linux-gnu-debug.tar.gz
2a78fb21dbc38e572c043b15a45d5aab585b99f12c8a2e31fc285a10500a5e26 bitcoin-cash-node-22.3.0-i686-pc-linux-gnu.tar.gz
a354cb2a61a2a035cb69ac8e0a7077164821882347ff94f517f6abaa53576053 bitcoin-cash-node-22.3.0-x86_64-linux-gnu-debug.tar.gz
5f619741a2dc9b7104b8e537751b398963cc742f506e93a44bcd93ac454f6b2d bitcoin-cash-node-22.3.0-x86_64-linux-gnu.tar.gz
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901 src/bitcoin-cash-node-22.3.0.tar.gz
a7ec72fb0d8a3b9d3b289829e4ebea5bebe38a6e7d41368e5c6da56a8d391ac6 bitcoin-cash-node-linux-res.yml
872c46cad14b1752ed6c022258809c8823d57ada106ba5b9ad0e7bfe04d7e374 bitcoin-cash-node-22.3.0-win-unsigned.tar.gz
23aa99fe7c2262b1a9540917433c46affa28f430ee3e6df8f6afb51a662ac302 bitcoin-cash-node-22.3.0-win64-debug.zip
ffba0d9d8b0943620c77aba08972156c2a4cdab1656912fca629865235b3708b bitcoin-cash-node-22.3.0-win64-setup-unsigned.exe
5056ab1982aa1067ef2375968a2a0c80ff3744dabd61fe89c0e5a2de7bf769f0 bitcoin-cash-node-22.3.0-win64.zip
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901 src/bitcoin-cash-node-22.3.0.tar.gz
7bc9c94f90c85751b172e979ba8fe58e6507af842d43c4e098c8a9c1e4e2bd25 bitcoin-cash-node-win-res.yml
044aa6abcebfedaf931dfe29c152cee8213c6b69f0a56dc4a576f3d75c97a9aa bitcoin-cash-node-22.3.0-osx-unsigned.dmg
58d4e3fbc9c1c36f2d341264035cead7fe972e5ac4f09c74684f63875ccf3b1f bitcoin-cash-node-22.3.0-osx-unsigned.tar.gz
32c764f44b7a48d2e82152a927ec4d38fc575e80979aa0be8ef2b78d9c7bf064 bitcoin-cash-node-22.3.0-osx64.tar.gz
996d1ad12e29779027d9b484982436989c7986b8501324a68d74e98d37347901 src/bitcoin-cash-node-22.3.0.tar.gz
27a1888edda0fc33b036903dc21d00fa2c83a842c447e730fd7700710cd1ba25 bitcoin-cash-node-osx-res.yml
Edited by BigBlockIfTrue