You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make -C man -f mans.mk nbd-server.1.sh.in nbd-server.5.sh.in nbd-client.8.sh.in nbd-trdump.1.sh.in nbdtab.5.sh.in
make -C systemd -f Makefile.am [email protected]
before running autoreconf -f -i. The first of those steps requires docbook2man 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 to nbd-client.8.sgml, rather than running docbook2man on nbd-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 for docbook2man.)
In addition to avoiding the mandatory docbook2man dependency when disabling manpages in configure, this would also allow those build operations to happen in make where they can run in parallel as part of parallel make. And it would avoid needing makefiles already generated before running autogen.sh.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: