raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=a76a80da0b5b2af2b46ef56a91fa86d622308ede

commit a76a80da0b5b2af2b46ef56a91fa86d622308ede
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Dec 27 16:35:30 2018 +0000

    meson - use install_mode for theme
---
 data/themes/meson.build | 13 ++++++-------
 meson.build             |  1 -
 meson/meson-chmod.sh    |  2 --
 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"

-- 


Reply via email to