Build system: Don't compile schemas when packing

This commit is contained in:
Romain Vigier
2023-02-27 22:07:21 +01:00
parent 844ee95b57
commit 1fd686ecff
+7
View File
@@ -9,6 +9,12 @@ gnome.compile_resources(
install_dir: INSTALL_DIR / 'resources',
)
install_data(
DNS + '.gschema.xml',
install_dir: INSTALL_DIR / 'schemas'
)
if not get_option('pack')
glib_compile_schemas_exe = find_program('glib-compile-schemas')
custom_target(
'gschemas',
@@ -23,3 +29,4 @@ custom_target(
install: true,
install_dir: INSTALL_DIR / 'schemas'
)
endif