From e530a1961f006ea5ad839da02ea1cceb5cc9eb51 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 23 Jun 2023 09:20:49 +0200 Subject: [PATCH] scripts: Update update-docs.sh scripts libnvme is not downloaded automatically anymore. Thus use --force-fallback-for to fetch it when updating the documentation. Signed-off-by: Daniel Wagner --- scripts/update-docs.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/update-docs.sh b/scripts/update-docs.sh index 1f3f6771..6fe1132f 100755 --- a/scripts/update-docs.sh +++ b/scripts/update-docs.sh @@ -6,8 +6,12 @@ cd "$(git rev-parse --show-toplevel)" || exit 1 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/ \; -- 2.50.1