aboutsummaryrefslogtreecommitdiff
path: root/tools/meson_final.sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-08-22 13:09:30 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-04 16:01:29 -0500
commitd6622a1156929294b909d08273fd227c7d817bb9 (patch)
tree29df9fc3ecae9e72e467effc91f3985eafaccd82 /tools/meson_final.sh
parent92004a2ed65045b7ca79063dda8fc5b4ac761606 (diff)
add meson build files
Closes #116. Closes #171. Closes #172. Closes #175.
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}"