diff options
Diffstat (limited to 'data/elementary/config/meson.build')
-rw-r--r-- | data/elementary/config/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
1 | configs = ['default', 'mobile', 'standard'] | ||
2 | |||
3 | foreach 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) | ||
13 | endforeach | ||
14 | |||
15 | custom_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 | ) | ||