Instead of stopping the execution of gen-manpages.py when a binary is not found, continue generating manpages for the available binaries and skip the missing ones.
A new argument, --skip-missing-binaries
, has been added to enable this behavior.
0➜ bitcoin git:(fix-gen-manpages) ✗ ./contrib/devtools/gen-manpages.py --help
1usage: gen-manpages.py [-h] [-s]
2
3options:
4 -h, --help show this help message and exit
5 -s, --skip-missing-binaries
6 skip generation for binaries that are not found
closes #30985
This PR also includes an error prompt if no binaries are found in the build path.