aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-27 16:35:30 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-27 16:35:30 +0000
commita76a80da0b5b2af2b46ef56a91fa86d622308ede (patch)
treeac5739b76e345c027d37c15499db9e1e1bf8a87e
parentmeson - sync tree to look like e/efl with meson scripts in meson dir (diff)
downloadrage-a76a80da0b5b2af2b46ef56a91fa86d622308ede.tar.gz
meson - use install_mode for theme
-rw-r--r--data/themes/meson.build13
-rw-r--r--meson.build1
-rwxr-xr-xmeson/meson-chmod.sh2
3 files changed, 6 insertions, 10 deletions
diff --git a/data/themes/meson.build b/data/themes/meson.build
index d44956a..f962b85 100644
--- a/data/themes/meson.build
+++ b/data/themes/meson.build
@@ -4,11 +4,10 @@ cmd = [ edje_cmd,
]
src = 'default'
custom_target(src + '.edj',
- input : src + '.edc',
- output : src + '.edj',
- command : cmd,
- install_dir: join_paths(dir_data, proj, 'themes'),
- install : true
+ input : src + '.edc',
+ output : src + '.edj',
+ command : cmd,
+ install_dir : join_paths(dir_data, proj, 'themes'),
+ install_mode : 'rw-r--r--',
+ install : true
)
-out = join_paths(dir_data, proj, 'themes', 'default.edj')
-meson.add_install_script(chmod, 'a+r', out)
diff --git a/meson.build b/meson.build
index 85149e6..32eaa8f 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,6 @@ base_url = 'https://www.enlightenment.org/about-'
##### convenience variables for later
proj = meson.project_name()
ver = meson.project_version()
-chmod = join_paths(meson.source_root(), 'meson/meson-chmod.sh')
##### dependencies
efl_version = '>= 1.19.0'
diff --git a/meson/meson-chmod.sh b/meson/meson-chmod.sh
deleted file mode 100755
index e72cb72..0000000
--- a/meson/meson-chmod.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"