summaryrefslogtreecommitdiffstats
path: root/plugins/externaltools/meson.build
blob: d46d0ddad0d9733259ceb1fd214b302172575e6a (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
subdir('scripts')
subdir('tools')
subdir('data')

externaltools_gschema_file = files('org.gnome.gedit.plugins.externaltools.gschema.xml')
install_data(
  externaltools_gschema_file,
  install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0/schemas')
)

if xmllint.found()
  test(
    'validate-externaltools-gschema',
    xmllint,
    args: [
      '--noout',
      '--dtdvalid', gschema_dtd,
      externaltools_gschema_file,
    ]
  )
endif

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

subdir('tests')