summaryrefslogtreecommitdiffstats
path: root/plugins/pythonconsole/meson.build
blob: 1aecada2756f3e85bdafb8177e779889bc2ef6e4 (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
subdir('pythonconsole')

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

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

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