From: Daniel Wagner Date: Fri, 23 Jun 2023 07:20:49 +0000 (+0200) Subject: scripts: Update update-docs.sh scripts X-Git-Tag: v2.5~10 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e530a1961f006ea5ad839da02ea1cceb5cc9eb51;p=users%2Fsagi%2Fnvme-cli.git 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 --- 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/ \;