1
0
mirror of https://github.com/GNOME/gedit synced 2024-06-30 23:15:01 +00:00

Meson: plugins: snippets: refactorings

This commit is contained in:
Sébastien Wilmet 2024-06-26 22:30:49 +02:00
parent 18c4738050
commit c656474470
2 changed files with 4 additions and 20 deletions

View File

@ -3,11 +3,7 @@ subdir('snippets')
install_subdir(
'data',
strip_directory : true,
install_dir: join_paths(
pkgdatadir,
'plugins',
'snippets',
)
install_dir: get_option('datadir') / 'gedit/plugins/snippets',
)
custom_target(
@ -16,8 +12,5 @@ custom_target(
output: 'snippets.plugin',
command: msgfmt_plugin_cmd,
install: true,
install_dir: join_paths(
pkglibdir,
'plugins',
)
install_dir: get_option('libdir') / 'gedit/plugins',
)

View File

@ -21,19 +21,10 @@ snippets_sources = [
install_data(
snippets_sources,
install_dir: join_paths(
pkglibdir,
'plugins',
'snippets',
)
install_dir: get_option('libdir') / 'gedit/plugins/snippets',
)
install_data(
'snippets.ui',
install_dir: join_paths(
pkgdatadir,
'plugins',
'snippets',
'ui',
)
install_dir: get_option('datadir') / 'gedit/plugins/snippets/ui',
)