[devhelp] meson: install gedit plugin
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] meson: install gedit plugin
- Date: Wed, 14 Mar 2018 12:01:24 +0000 (UTC)
commit 2606e224a89591ee94768b0e67c2b4a4af11087d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Mar 14 12:52:49 2018 +0100
meson: install gedit plugin
meson.build | 1 +
plugins/gedit-plugin/meson.build | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index d31b218..e85d5f8 100644
--- a/meson.build
+++ b/meson.build
@@ -147,6 +147,7 @@ add_global_arguments(supported_warning_cflags, language : 'c')
##### end CFLAGS
subdir('data')
+subdir('plugins/gedit-plugin')
subdir('po')
subdir('help')
subdir('devhelp')
diff --git a/plugins/gedit-plugin/meson.build b/plugins/gedit-plugin/meson.build
new file mode 100644
index 0000000..e5b3582
--- /dev/null
+++ b/plugins/gedit-plugin/meson.build
@@ -0,0 +1,17 @@
+gedit_plugin_dir = join_paths(get_option('prefix'), get_option('libdir'), 'gedit/plugins')
+
+install_data(
+ 'devhelp.py',
+ install_dir : gedit_plugin_dir
+)
+
+plugin_info_file = 'devhelp.plugin'
+I18N.merge_file(
+ plugin_info_file,
+ type : 'desktop',
+ input : plugin_info_file + '.desktop.in',
+ output : plugin_info_file,
+ po_dir : '../../po/',
+ install : true,
+ install_dir : gedit_plugin_dir
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]