summaryrefslogtreecommitdiff
path: root/src/examples/meson.build
blob: 5f33afc31f87f8fc989caedc9e66e0c2e8660386 (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
policy = 'org.freedesktop.policykit.examples.pkexec.policy'

custom_target(
  policy,
  input: policy + '.in',
  output: '@BASENAME@',
  command: intltool_xml_cmd,
  install: true,
  install_dir: pk_pkgactiondir,
)

program = 'cancel'

executable(
  program,
  program + '.c',
  include_directories: top_inc,
  dependencies: libpolkit_gobject_dep,
)

executable(
  'pk-example-frobnicate',
  'frobnicate.c',
  include_directories: top_inc,
  dependencies: glib_dep,
  install: true,
)