~elementary-pantheon/contractor/master

« back to all changes in this revision

Viewing changes to data/meson.build

  • Committer: Corentin Noël
  • Author(s): worldofpeace
  • Date: 2019-08-14 13:18:39 UTC
  • Revision ID: git-v1:73372b49f9e908811c7ef53444a82aa1a1fcb053
build: fix install path for dbus service (#32)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
conf_data = configuration_data()
2
 
conf_data.set('EXEC_PATH', join_paths (get_option('prefix'), get_option('bindir'), meson.project_name()))
 
2
conf_data.set('EXEC_PATH', join_paths (bindir, meson.project_name()))
3
3
 
4
4
dbus = dependency('dbus-1')
 
5
session_bus_services_dir = dbus.get_pkgconfig_variable('session_bus_services_dir', define_variable: ['datadir', datadir])
5
6
 
6
7
configure_file(
7
8
    input: 'org.elementary.contractor.service.in',
8
9
    output: '@BASENAME@',
9
10
    configuration: conf_data,
10
 
    install_dir: dbus.get_pkgconfig_variable('session_bus_services_dir')
 
11
    install_dir: session_bus_services_dir
11
12
)