1
0
Fork 0

Merging upstream version 2.5.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 12:24:13 +01:00
parent 3d70d3c76b
commit ee6621a5b2
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
507 changed files with 19440 additions and 17258 deletions

17
scripts/update-docs.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
cd "$(git rev-parse --show-toplevel)" || exit 1
BUILDDIR="$(mktemp -d)"
trap 'rm -rf -- $BUILDDIR' EXIT
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/ \;