summaryrefslogtreecommitdiff
path: root/meson
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:20:03 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-07-20 17:18:33 -0400
commite8dc71cd4828ce8ccf791b27326f75b5d5ec8ab8 (patch)
tree14ecd21fda244cfa38132157ec4210ee8d696d91 /meson
parent4d3e157b30269276772806ddb0283ca20198ff8e (diff)
downloadenlightenment-e8dc71cd4828ce8ccf791b27326f75b5d5ec8ab8.tar.gz
meson.
Diffstat (limited to 'meson')
-rw-r--r--meson/meson_inst.sh6
-rw-r--r--meson/meson_modules.sh6
2 files changed, 12 insertions, 0 deletions
diff --git a/meson/meson_inst.sh b/meson/meson_inst.sh
new file mode 100644
index 0000000000..321143e405
--- /dev/null
+++ b/meson/meson_inst.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for x in "$@" ; do
+ chown root "$DESTDIR/$x"
+ chmod a=rx,u+xs "$DESTDIR/$x"
+done
diff --git a/meson/meson_modules.sh b/meson/meson_modules.sh
new file mode 100644
index 0000000000..c6f23181a8
--- /dev/null
+++ b/meson/meson_modules.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for x in "$@" ; do
+ dir="$(dirname $x)"
+ mv "$DESTDIR"/"$x" "$DESTDIR"/"$dir"/module.so
+done