aboutsummaryrefslogtreecommitdiff
path: root/doc/install-html.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/install-html.sh')
-rwxr-xr-xdoc/install-html.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/install-html.sh b/doc/install-html.sh
new file mode 100755
index 00000000..884fc27c
--- /dev/null
+++ b/doc/install-html.sh
@@ -0,0 +1,7 @@
+#!/bin/sh -eu
+
+cd "$1"; shift
+MESON_INSTALL_DESTDIR=${MESON_INSTALL_DESTDIR_PREFIX%$MESON_INSTALL_PREFIX}
+dest="$MESON_INSTALL_DESTDIR$1"; shift
+
+install -p -m644 -t "$dest" -- *.html