summaryrefslogtreecommitdiffstats
path: root/plugins/docinfo/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/docinfo/meson.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/docinfo/meson.build b/plugins/docinfo/meson.build
new file mode 100644
index 0000000..200ace5
--- /dev/null
+++ b/plugins/docinfo/meson.build
@@ -0,0 +1,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',
+ )
+)