summaryrefslogtreecommitdiff
path: root/maximus/meson.build
blob: 349942c13fcab7c1e34abf26909953acc6483a85 (plain)
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
man1_dir = join_paths(maximus_mandir, 'man1')

maximus_sources = [
  'eggaccelerators.c',
  'main.c',
  'maximus-app.c',
  'maximus-bind.c',
  'tomboykeybinder.c',
  'xutils.c'
]

executable('mate-maximus', maximus_sources,
           include_directories: config_inc,
           dependencies: netbook_deps,
           install: true)

# man files

install_data('mate-maximus.1',
  install_dir : man1_dir
)

# autostart file

install_data('mate-maximus-autostart.desktop',
install_dir: join_paths(get_option('prefix'), 'etc', 'xdg', 'autostart')
)

# .gschema file

schema_data = configuration_data()
schema_data.set('GETTEXT_PACKAGE', meson.project_name())
configure_file(
  input :  'org.mate.maximus.gschema.xml.in',
  output : 'org.mate.maximus.gschema.xml',
  configuration : schema_data,
  install : true,
  install_dir : join_paths(datadir, 'glib-2.0', 'schemas')
)