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
36
37
38
39
40
41
42
|
libmodelines_sources = files(
'gedit-modeline-plugin.c',
'modeline-parser.c',
)
libmodelines_deps = [
libgedit_dep,
]
libmodelines_sha = shared_module(
'modelines',
sources: libmodelines_sources,
include_directories: root_include_dir,
dependencies: libmodelines_deps,
install: true,
install_dir: join_paths(
pkglibdir,
'plugins',
),
name_suffix: module_suffix,
)
custom_target(
'modelines.plugin',
input: 'modelines.plugin.desktop.in',
output: 'modelines.plugin',
command: msgfmt_plugin_cmd,
install: true,
install_dir: join_paths(
pkglibdir,
'plugins',
)
)
install_data(
'language-mappings',
install_dir: join_paths(
pkgdatadir,
'plugins',
'modelines',
)
)
|