Debian Codegraph @

contrib/command-not-found/meson.build

raw
1 executable(
2 'pk-command-not-found',
3 'pk-command-not-found.c',
4 dependencies: packagekit_glib2_dep,
5 install: true,
6 install_dir: get_option('libexecdir'),
7 c_args: [
8 '-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
9 '-DG_LOG_DOMAIN="PackageKit"',
10 '-DPACKAGE_LOCALE_DIR="@0@"'.format(join_paths(get_option('prefix'), get_option('localedir'))),
11 '-DSYSCONFDIR="@0@"'.format(get_option('sysconfdir')),
12 ]
13 )
14
15 bashprofile_config_data = configuration_data()
16 bashprofile_config_data.set('LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir')))
17 configure_file(
18 input: 'PackageKit.sh.in',
19 output: 'PackageKit.sh',
20 configuration: bashprofile_config_data,
21 install: true,
22 install_dir: join_paths(get_option('sysconfdir'), 'profile.d'),
23 )
24
25 install_data(
26 'CommandNotFound.conf',
27 install_dir: join_paths(get_option('sysconfdir'), 'PackageKit'),
28 )