[devhelp] plugins: Install Emacs and VIM plugins



commit c4760cca140c6de8d498afc3da372aba698dc183
Author: Anton Leontiev <scileont gmail com>
Date:   Fri Jan 8 11:47:05 2021 +0300

    plugins: Install Emacs and VIM plugins
    
    Currently Gedit plugin is installed automatically, but Emacs and VIM
    plugins aren't. With this commit packagers doesn't need to install
    plugins themselves.

 meson.build         |  2 +-
 plugins/meson.build | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index bdd55b2d..688f3d6a 100644
--- a/meson.build
+++ b/meson.build
@@ -147,7 +147,7 @@ add_project_arguments(supported_warning_cflags, language: 'c')
 ##### end CFLAGS
 
 subdir('data')
-subdir('plugins/gedit-plugin')
+subdir('plugins')
 subdir('po')
 subdir('help')
 subdir('devhelp')
diff --git a/plugins/meson.build b/plugins/meson.build
new file mode 100644
index 00000000..74909771
--- /dev/null
+++ b/plugins/meson.build
@@ -0,0 +1,11 @@
+install_data(
+    'devhelp.el',
+    install_dir: get_option('datadir') / 'emacs' / 'site-lisp'
+)
+
+install_data(
+    'devhelp.vim',
+    install_dir: get_option('datadir') / 'vim' / 'vimfiles' / 'plugin'
+)
+
+subdir('gedit-plugin')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]