cdata = configuration_data() cdata.set('VERSION', '1.0') version_xml = configure_file(input : 'version.xml.in', output : 'version.xml', configuration : cdata) gnome.gtkdoc('foobar', version_xml, src_dir : inc, main_sgml : 'foobar-docs.sgml', content_files : docbook, install : true)