10 lines
253 B
Bash
Executable file
10 lines
253 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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/ \;
|