raster pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=0fd3c6557c6881d94d178d6e6d4daaffd8f4c07f

commit 0fd3c6557c6881d94d178d6e6d4daaffd8f4c07f
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Dec 27 16:48:39 2018 +0000

    meson - use install_mode instead of chmod script
---
 data/themes/meson.build           | 1 +
 data/themes/nyanology/meson.build | 1 +
 meson.build                       | 1 -
 meson/meson_install_themes.sh     | 5 -----
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/data/themes/meson.build b/data/themes/meson.build
index 5331bd4..0b29880 100644
--- a/data/themes/meson.build
+++ b/data/themes/meson.build
@@ -27,6 +27,7 @@ foreach to_compile: edje_to_compile
   edj_targets += [custom_target(output,
                                 install:true,
                                 install_dir: edje_install_dir,
+                                install_mode: 'rw-r--r--',
                                 depend_files: files(to_compile[1]),
                                 command: command,
                                 input: input,
diff --git a/data/themes/nyanology/meson.build 
b/data/themes/nyanology/meson.build
index 2cd5aa6..2c8420c 100644
--- a/data/themes/nyanology/meson.build
+++ b/data/themes/nyanology/meson.build
@@ -12,6 +12,7 @@ edj_targets += [custom_target('nyanology.edj',
                               depend_files: files(['about.edc',
                                                    'nyancursor.edc']),
                               install_dir: edje_install_dir,
+                              install_mode: 'rw-r--r--',
                               command: command,
                               input:'nyanology.edc',
                               output:'nyanology.edj')]
diff --git a/meson.build b/meson.build
index 4df72f4..8afade3 100644
--- a/meson.build
+++ b/meson.build
@@ -125,4 +125,3 @@ subdir('data')
 subdir('man')
 subdir('src/bin')
 
-meson.add_install_script('meson/meson_install_themes.sh', edj_files)
diff --git a/meson/meson_install_themes.sh b/meson/meson_install_themes.sh
deleted file mode 100755
index be82281..0000000
--- a/meson/meson_install_themes.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-for x in "$@" ; do
-    chmod 644 "$MESON_INSTALL_DESTDIR_PREFIX/$x" && touch 
"$MESON_INSTALL_DESTDIR_PREFIX/$x"
-done

-- 


Reply via email to