build: Use fs.copyfile() instead of configure_file()

Because Meson complains about using `configure_file(copy: true)`.

Includes improvements by Xavier Claessens.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2022-11-16 15:52:09 +00:00
parent 7e3e591d43
commit 19353017a7
5 changed files with 25 additions and 24 deletions

View File

@@ -155,11 +155,7 @@ if get_option('gtk_doc')
command : [concat_files_helper, '@OUTPUT@', '@INPUT@'],
)
configure_file(
output : 'gio-docs-platform.xml',
input : platform_file,
copy : true,
)
fs.copyfile(platform_file, 'gio-docs-platform.xml')
content_files = [
'overview.xml',