aboutsummaryrefslogtreecommitdiff
path: root/tools/meson_final.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/meson_final.sh')
-rwxr-xr-xtools/meson_final.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/meson_final.sh b/tools/meson_final.sh
new file mode 100755
index 00000000..4941c8da
--- /dev/null
+++ b/tools/meson_final.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+set -u
+
+rc_libexecdir="$1"
+os="$2"
+
+if [ ${os} != Linux ]; then
+ install -d "${DESTDIR}/${rc_libexecdir}"/init.d
+fi
+install -d "${DESTDIR}/${rc_libexecdir}"/tmp
+install "${MESON_BUILD_ROOT}/src/version/version" "${DESTDIR}/${rc_libexecdir}"