Build system: Don't compile schemas when packing
This commit is contained in:
@@ -9,6 +9,12 @@ gnome.compile_resources(
|
|||||||
install_dir: INSTALL_DIR / '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')
|
glib_compile_schemas_exe = find_program('glib-compile-schemas')
|
||||||
custom_target(
|
custom_target(
|
||||||
'gschemas',
|
'gschemas',
|
||||||
@@ -23,3 +29,4 @@ custom_target(
|
|||||||
install: true,
|
install: true,
|
||||||
install_dir: INSTALL_DIR / 'schemas'
|
install_dir: INSTALL_DIR / 'schemas'
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user