libnvme is not downloaded automatically anymore. Thus use
--force-fallback-for to fetch it when updating the documentation.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
BUILDDIR="$(mktemp -d)"
trap 'rm -rf -- $BUILDDIR' EXIT
-meson $BUILDDIR -Ddocs=all -Ddocs-build=true
-ninja -C $BUILDDIR
-find $BUILDDIR/Documentation -maxdepth 1 \
+meson setup \
+ -Ddocs=all \
+ -Ddocs-build=true \
+ --force-fallback-for=libnvme \
+ "${BUILDDIR}"
+meson compile -C "${BUILDDIR}"
+find "${BUILDDIR}/Documentation" -maxdepth 1 \
\( -name '*.1' -o -name '*.html' \) \
-exec cp {} Documentation/ \;