mirror of
https://github.com/GNOME/gedit
synced 2024-07-05 02:35:00 +00:00
Meson: plugins: pythonconsole: refactorings
This commit is contained in:
parent
445f5297ce
commit
06f9850352
|
@ -1,9 +1,9 @@
|
||||||
subdir('pythonconsole')
|
subdir('pythonconsole')
|
||||||
|
|
||||||
pythonconsole_gschema_file = files('org.gnome.gedit.plugins.pythonconsole.gschema.xml')
|
plugin_pythonconsole_gschema_file = files('org.gnome.gedit.plugins.pythonconsole.gschema.xml')
|
||||||
install_data(
|
install_data(
|
||||||
pythonconsole_gschema_file,
|
plugin_pythonconsole_gschema_file,
|
||||||
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0/schemas')
|
install_dir: get_option('datadir') / 'glib-2.0/schemas',
|
||||||
)
|
)
|
||||||
|
|
||||||
if xmllint.found()
|
if xmllint.found()
|
||||||
|
@ -13,7 +13,7 @@ if xmllint.found()
|
||||||
args: [
|
args: [
|
||||||
'--noout',
|
'--noout',
|
||||||
'--dtdvalid', gschema_dtd,
|
'--dtdvalid', gschema_dtd,
|
||||||
pythonconsole_gschema_file,
|
plugin_pythonconsole_gschema_file,
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
@ -24,8 +24,5 @@ custom_target(
|
||||||
output: 'pythonconsole.plugin',
|
output: 'pythonconsole.plugin',
|
||||||
command: msgfmt_plugin_cmd,
|
command: msgfmt_plugin_cmd,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(
|
install_dir: get_option('libdir') / 'gedit/plugins',
|
||||||
pkglibdir,
|
|
||||||
'plugins',
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,24 +1,15 @@
|
||||||
pythonconsole_sources = files(
|
plugin_pythonconsole_sources = files(
|
||||||
'__init__.py',
|
'__init__.py',
|
||||||
'config.py',
|
'config.py',
|
||||||
'console.py',
|
'console.py',
|
||||||
)
|
)
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
pythonconsole_sources,
|
plugin_pythonconsole_sources,
|
||||||
install_dir: join_paths(
|
install_dir: get_option('libdir') / 'gedit/plugins/pythonconsole',
|
||||||
pkglibdir,
|
|
||||||
'plugins',
|
|
||||||
'pythonconsole',
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
'config.ui',
|
'config.ui',
|
||||||
install_dir: join_paths(
|
install_dir: get_option('datadir') / 'gedit/plugins/pythonconsole/ui',
|
||||||
pkgdatadir,
|
|
||||||
'plugins',
|
|
||||||
'pythonconsole',
|
|
||||||
'ui',
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user