summaryrefslogtreecommitdiffstats
path: root/plugins/docinfo/meson.build
blob: 200ace56131efd4759b98274b19f4c67c52fb617 (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
libdocinfo_sources = files(
  'gedit-docinfo-plugin.c',
)

libdocinfo_deps = [
  libgedit_dep,
]

subdir('resources')

libdocinfo_sha = shared_module(
  'docinfo',
  sources: libdocinfo_sources,
  include_directories: root_include_dir,
  dependencies: libdocinfo_deps,
  install: true,
  install_dir: join_paths(
    pkglibdir,
    'plugins',
  ),
  name_suffix: module_suffix,
)

custom_target(
  'docinfo.plugin',
  input: 'docinfo.plugin.desktop.in',
  output: 'docinfo.plugin',
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: join_paths(
    pkglibdir,
    'plugins',
  )
)