-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
41 lines (35 loc) · 1.02 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
project(
'mate-desktop-branding',
['c'],
version: '17',
license: [
'GPL-2.0',
],
default_options: [
'prefix=/usr',
'sysconfdir=/etc',
],
)
meson.add_install_script('meson_post_install.sh')
path_prefix = get_option('prefix')
path_datadir = join_paths(path_prefix, get_option('datadir'))
path_schemadir = join_paths(path_datadir, 'glib-2.0', 'schemas')
# Solusism
path_envdir = get_option('with-profile-dir')
if path_envdir == ''
path_envdir = join_paths(path_datadir, 'defaults', 'etc', 'profile.d')
endif
subdir('env')
subdir('lightdm')
subdir('panel')
subdir('schemas')
report = [
' Build configuration:',
' ====================',
'',
' prefix: @0@'.format(path_prefix),
' datadir: @0@'.format(path_datadir),
' environment dir: @0@'.format(path_envdir),
]
# Output some stuff to validate the build config
message('\n\n\n' + '\n'.join(report) + '\n\n')