summaryrefslogtreecommitdiffstats
path: root/doc/update-docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update-docs.sh')
-rwxr-xr-xdoc/update-docs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/update-docs.sh b/doc/update-docs.sh
index dfa1fd8..723f3fa 100755
--- a/doc/update-docs.sh
+++ b/doc/update-docs.sh
@@ -8,8 +8,8 @@ BUILDDIR="$(mktemp -d)"
echo $BUILDDIR
trap 'rm -rf -- $BUILDDIR' EXIT
-meson $BUILDDIR -Ddocs=man -Ddocs-build=true
-ninja -C $BUILDDIR
+meson setup $BUILDDIR -Ddocs=man -Ddocs-build=true
+meson compile -C $BUILDDIR
rm -rf $DESTDIR/doc/man
mkdir $DESTDIR/doc/man
@@ -22,8 +22,8 @@ BUILDDIR="$(mktemp -d)"
echo $BUILDDIR
trap 'rm -rf -- $BUILDDIR' EXIT
-meson $BUILDDIR -Ddocs=rst -Ddocs-build=true
-ninja -C $BUILDDIR
+meson setup $BUILDDIR -Ddocs=rst -Ddocs-build=true
+meson compile -C $BUILDDIR
rm -rf $DESTDIR/doc/rst/*.rst
mkdir -p $DESTDIR/doc/rst