meson.build: compile GLib schemas on install

Run a script as a post install to make sure that all GLib schemas are compiled
This commit is contained in:
Dylan Van Assche
2021-01-01 18:38:47 +01:00
parent e4cdd0bcff
commit 2e92c181a0
2 changed files with 19 additions and 0 deletions
+5
View File
@@ -98,6 +98,11 @@ libname = 'libfeedback-' + apiversion
json_glib_validate = find_program('json-glib-validate', required: false)
meson.add_install_script(
join_paths('build-aux', 'post_install.py'),
datadir
)
subdir('data')
subdir('libfeedback')
subdir('src')