build: Change configure_file() to fs.copyfile() when copy is set

Meson has preferred `fs.copyfile()` since 0.62. This fixes a set of
Meson warnings.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
Philip Withnall
2023-10-25 11:20:36 +01:00
parent 8831f65a4d
commit 4ce58df854
4 changed files with 8 additions and 13 deletions

View File

@@ -154,11 +154,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 = [
'migrating-posix.xml',