From 2e650c1f5f2f79e7db10dec5dcdd1cffcaf47891 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 26 Jul 2022 07:11:40 +0200 Subject: Merging upstream version 2.1~rc0 (Closes: #1015722). Signed-off-by: Daniel Baumann --- Documentation/update-docs.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 Documentation/update-docs.sh (limited to 'Documentation/update-docs.sh') diff --git a/Documentation/update-docs.sh b/Documentation/update-docs.sh new file mode 100755 index 0000000..87a73cc --- /dev/null +++ b/Documentation/update-docs.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later + +BUILDDIR="$(mktemp -d)" +trap 'rm -rf -- $BUILDDIR' EXIT + +meson $BUILDDIR -Ddocs=all -Ddocs-build=true +ninja -C $BUILDDIR +find $BUILDDIR/Documentation -maxdepth 1 \ + \( -name '*.1' -o -name '*.html' \) \ + -exec cp {} Documentation/ \; -- cgit v1.2.3