1 gdbus_codegen_files = [
11 gdbus_codegen_conf = configuration_data()
12 gdbus_codegen_conf.set('VERSION', glib_version)
13 gdbus_codegen_conf.set('PYTHON', python.path())
15 # Install gdbus-codegen executable
16 # FIXME: Set permissions
17 gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
18 output : 'gdbus-codegen',
20 install_dir : get_option('bindir'),
21 configuration : gdbus_codegen_conf
24 codegen_dir = join_paths(get_option('datadir'), 'glib-2.0/codegen')
26 configure_file(input : 'config.py.in',
29 install_dir : codegen_dir,
30 configuration : gdbus_codegen_conf
33 blank_conf = configuration_data()
34 foreach f : gdbus_codegen_files
35 # Copy these into the builddir so that gdbus-codegen can be used uninstalled
36 # and then install it too so that it can be used after installation
37 configure_file(input : f, output : f,
39 install_dir : codegen_dir,
40 configuration : blank_conf)