summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-27 17:16:33 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-27 17:16:33 +0000
commit9568b29e647a806022ba5d5d8b5e524aee01ccb5 (patch)
tree9bd1e8390aa8da72e712361ba242974471d8464a /data
parentc16034bcc81e809ac7ac999ff9bbace18f16eb73 (diff)
meson - use install_mode
Diffstat (limited to 'data')
-rw-r--r--data/config/default/meson.build15
-rw-r--r--data/config/meson.build13
-rw-r--r--data/config/mobile/meson.build18
-rw-r--r--data/config/standard/meson.build18
-rw-r--r--data/config/tiling/meson.build18
-rw-r--r--data/tools/meson.build5
6 files changed, 38 insertions, 49 deletions
diff --git a/data/config/default/meson.build b/data/config/default/meson.build
index f993a4393..e19340537 100644
--- a/data/config/default/meson.build
+++ b/data/config/default/meson.build
@@ -8,15 +8,12 @@ src = [
8i = 0 8i = 0
9foreach cd: src 9foreach cd: src
10 custom_target(' '.join(['config_dist', dir, cd]), 10 custom_target(' '.join(['config_dist', dir, cd]),
11 input : cd + '.src', 11 input : cd + '.src',
12 output : cd + '.cfg', 12 output : cd + '.cfg',
13 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'], 13 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
14 install : true, 14 install : true,
15 install_dir: join_paths(dir_config, dir) 15 install_dir : join_paths(dir_config, dir),
16 install_mode : 'rw-r--r--'
16 ) 17 )
17 i += 1 18 i += 1
18endforeach 19endforeach
19foreach cd: src
20 o = join_paths(dir_config, dir, cd + '.cfg')
21 meson.add_install_script(chmod, 'a+r', o)
22endforeach
diff --git a/data/config/meson.build b/data/config/meson.build
index 3cc83881a..aa021e45e 100644
--- a/data/config/meson.build
+++ b/data/config/meson.build
@@ -7,14 +7,13 @@ if eet_cmd == ''
7endif 7endif
8 8
9custom_target('profile.src', 9custom_target('profile.src',
10 input : 'profile.src', 10 input : 'profile.src',
11 command : [eet_cmd, '-i', '@OUTPUT@', 'config', '@INPUT@', '1'], 11 command : [eet_cmd, '-i', '@OUTPUT@', 'config', '@INPUT@', '1'],
12 output : ['profile.cfg'], 12 output : ['profile.cfg'],
13 install : true, 13 install : true,
14 install_dir: dir_config 14 install_dir : dir_config,
15 install_mode : 'rw-r--r--'
15 ) 16 )
16out = join_paths(dir_config, 'profile.cfg')
17meson.add_install_script(chmod, 'a+r', out)
18 17
19subdir('default') 18subdir('default')
20subdir('mobile') 19subdir('mobile')
diff --git a/data/config/mobile/meson.build b/data/config/mobile/meson.build
index 64be2ad4e..af0d3502b 100644
--- a/data/config/mobile/meson.build
+++ b/data/config/mobile/meson.build
@@ -10,20 +10,18 @@ src = [
10i = 0 10i = 0
11foreach cd: src 11foreach cd: src
12 custom_target(' '.join(['config_dist', dir, cd]), 12 custom_target(' '.join(['config_dist', dir, cd]),
13 input : cd + '.src', 13 input : cd + '.src',
14 output : cd + '.cfg', 14 output : cd + '.cfg',
15 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'], 15 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
16 install : true, 16 install : true,
17 install_dir: join_paths(dir_config, dir) 17 install_dir : join_paths(dir_config, dir),
18 install_mode : 'rw-r--r--'
18 ) 19 )
19 i += 1 20 i += 1
20endforeach 21endforeach
21install_data([ 'enlightenment-' + dir + '.png', 22install_data([ 'enlightenment-' + dir + '.png',
22 'profile.desktop' 23 'profile.desktop'
23 ], 24 ],
24 install_dir: join_paths(dir_config, dir) 25 install_dir : join_paths(dir_config, dir),
26 install_mode : 'rw-r--r--'
25 ) 27 )
26foreach cd: src
27 o = join_paths(dir_config, dir, cd + '.cfg')
28 meson.add_install_script(chmod, 'a+r', o)
29endforeach
diff --git a/data/config/standard/meson.build b/data/config/standard/meson.build
index dfaacd8cd..ad349d30c 100644
--- a/data/config/standard/meson.build
+++ b/data/config/standard/meson.build
@@ -16,20 +16,18 @@ src = [
16i = 0 16i = 0
17foreach cd: src 17foreach cd: src
18 custom_target(' '.join(['config_dist', dir, cd]), 18 custom_target(' '.join(['config_dist', dir, cd]),
19 input : cd + '.src', 19 input : cd + '.src',
20 output : cd + '.cfg', 20 output : cd + '.cfg',
21 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'], 21 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
22 install : true, 22 install : true,
23 install_dir: join_paths(dir_config, dir) 23 install_dir : join_paths(dir_config, dir),
24 install_mode : 'rw-r--r--'
24 ) 25 )
25 i += 1 26 i += 1
26endforeach 27endforeach
27install_data([ 'enlightenment-' + dir + '.png', 28install_data([ 'enlightenment-' + dir + '.png',
28 'profile.desktop' 29 'profile.desktop'
29 ], 30 ],
30 install_dir: join_paths(dir_config, dir) 31 install_dir : join_paths(dir_config, dir),
32 install_mode : 'rw-r--r--'
31 ) 33 )
32foreach cd: src
33 o = join_paths(dir_config, dir, cd + '.cfg')
34 meson.add_install_script(chmod, 'a+r', o)
35endforeach
diff --git a/data/config/tiling/meson.build b/data/config/tiling/meson.build
index 50f074ccb..b6d2c4c43 100644
--- a/data/config/tiling/meson.build
+++ b/data/config/tiling/meson.build
@@ -17,20 +17,18 @@ src = [
17i = 0 17i = 0
18foreach cd: src 18foreach cd: src
19 custom_target(' '.join(['config_dist', dir, cd]), 19 custom_target(' '.join(['config_dist', dir, cd]),
20 input : cd + '.src', 20 input : cd + '.src',
21 output : cd + '.cfg', 21 output : cd + '.cfg',
22 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'], 22 command : [eet_cmd, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
23 install : true, 23 install : true,
24 install_dir: join_paths(dir_config, dir) 24 install_dir : join_paths(dir_config, dir),
25 install_mode : 'rw-r--r--'
25 ) 26 )
26 i += 1 27 i += 1
27endforeach 28endforeach
28install_data([ 'enlightenment-' + dir + '.png', 29install_data([ 'enlightenment-' + dir + '.png',
29 'profile.desktop' 30 'profile.desktop'
30 ], 31 ],
31 install_dir: join_paths(dir_config, dir) 32 install_dir : join_paths(dir_config, dir),
33 install_mode : 'rw-r--r--'
32 ) 34 )
33foreach cd: src
34 o = join_paths(dir_config, dir, cd + '.cfg')
35 meson.add_install_script(chmod, 'a+r', o)
36endforeach
diff --git a/data/tools/meson.build b/data/tools/meson.build
index d40a744f2..e95fd365d 100644
--- a/data/tools/meson.build
+++ b/data/tools/meson.build
@@ -1,5 +1,4 @@
1install_data('enlightenment_remote', 1install_data('enlightenment_remote',
2 install_dir: dir_bin 2 install_dir : dir_bin,
3 install_mode : 'rwxr-xr-x'
3 ) 4 )
4o = join_paths(dir_bin, 'enlightenment_remote')
5meson.add_install_script(chmod, 'a+r+x', o)