projects/aports·blob master · refs

22 lines · 702 B

1--- a/data/meson.build
2+++ b/data/meson.build
3@@ -69,8 +69,10 @@ install_data(
4 install_dir: join_paths(get_option('datadir'), 'fonts')
5 )
6
7+fs = import('fs')
8+
9 # Install GSettings schema
10-configure_file(
11+gschema = configure_file(
12 input: '@[email protected]'.format(PROJECT_RDNN_NAME),
13 output: '@[email protected]'.format(APPLICATION_ID),
14 configuration: conf,
15@@ -82,7 +84,7 @@ configure_file(
16 compile_schemas = find_program('glib-compile-schemas', required: false, disabler: true)
17 if compile_schemas.found()
18 test('Validate schema file', compile_schemas,
19- args: ['--strict', '--dry-run', meson.current_source_dir()]
20+ args: ['--strict', '--dry-run', fs.parent(gschema)]
21 )
22 endif