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())
14 gdbus_codegen_conf.set('DATADIR', glib_datadir)
16 # Install gdbus-codegen executable
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 gdbus_codegen_built_files = []
27 gdbus_codegen_built_files += configure_file(input : 'config.py.in',
30 install_dir : codegen_dir,
31 configuration : gdbus_codegen_conf)
33 foreach f : gdbus_codegen_files
34 # Copy these into the builddir so that gdbus-codegen can be used uninstalled
35 # and then install it too so that it can be used after installation
36 gdbus_codegen_built_files += configure_file(input : f, output : f,
38 install_dir : codegen_dir,