summaryrefslogtreecommitdiff
path: root/data/elementary/config
diff options
context:
space:
mode:
Diffstat (limited to 'data/elementary/config')
-rw-r--r--data/elementary/config/default/meson.build7
-rw-r--r--data/elementary/config/meson.build21
-rw-r--r--data/elementary/config/mobile/meson.build7
-rw-r--r--data/elementary/config/standard/meson.build7
4 files changed, 42 insertions, 0 deletions
diff --git a/data/elementary/config/default/meson.build b/data/elementary/config/default/meson.build
new file mode 100644
index 0000000000..983eb9d8d4
--- /dev/null
+++ b/data/elementary/config/default/meson.build
@@ -0,0 +1,7 @@
1custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7)
diff --git a/data/elementary/config/meson.build b/data/elementary/config/meson.build
new file mode 100644
index 0000000000..12a81ef03f
--- /dev/null
+++ b/data/elementary/config/meson.build
@@ -0,0 +1,21 @@
1configs = ['default', 'mobile', 'standard']
2
3foreach config : configs
4 config_file = join_paths(meson.current_source_dir(), config, 'base.src.in')
5 config_icon = join_paths(meson.current_source_dir(), config, 'icon.png')
6 config_desktop = join_paths(meson.current_source_dir(), config, 'profile.desktop')
7
8 install_data([config_icon, config_desktop],
9 install_dir : join_paths(dir_data, 'elementary', 'config', config)
10 )
11
12 subdir(config)
13endforeach
14
15custom_target('config_profile',
16 input: 'profile.src',
17 output: 'profile.cfg',
18 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
19 install: true,
20 install_dir: join_paths(dir_data, 'elementary', 'config'),
21)
diff --git a/data/elementary/config/mobile/meson.build b/data/elementary/config/mobile/meson.build
new file mode 100644
index 0000000000..c3a8a44de9
--- /dev/null
+++ b/data/elementary/config/mobile/meson.build
@@ -0,0 +1,7 @@
1 custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7 )
diff --git a/data/elementary/config/standard/meson.build b/data/elementary/config/standard/meson.build
new file mode 100644
index 0000000000..c3a8a44de9
--- /dev/null
+++ b/data/elementary/config/standard/meson.build
@@ -0,0 +1,7 @@
1 custom_target('config_'+config,
2 input: config_file,
3 output: 'base.cfg',
4 command: [eet_bin, '-i', '@OUTPUT@', 'config', '@INPUT@', '0'],
5 install: true,
6 install_dir: join_paths(dir_data, 'elementary', 'config', config),
7 )