Open joshtriplett opened 4 years ago
I believe I did things this way because the other way around didn't work properly for some reason, but it was a decision I made many many moons ago and I don't remember the details.
I agree it's a bit annoying, but that part of the generation should really only be run by people who want to run from git, which should not be as common... Or so I would hope
autogen.sh
runs:before running
autoreconf -f -i
. The first of those steps requiresdocbook2man
installed, even if the manpages will ultimately end up disabled.Please consider letting autoconf do substitution on the SGML files (e.g.
nbd-client.8.sgml.in
tonbd-client.8.sgml
, rather than runningdocbook2man
onnbd-client.8.in.sgml
), and then running the docbook2man step (and the generation of the systemd service file) as part of the later make step. (configure
could then look fordocbook2man
.)In addition to avoiding the mandatory
docbook2man
dependency when disabling manpages inconfigure
, this would also allow those build operations to happen inmake
where they can run in parallel as part of parallelmake
. And it would avoid needing makefiles already generated before runningautogen.sh
.