[grilo/ebassi/subproject-variables: 7/8] build: Use copy argument for configure_file()




commit fe56232d3fcaeecf55401ce283428b6f45ae7424
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Sep 27 14:28:29 2022 +0100

    build: Use copy argument for configure_file()
    
    Since we're copying a file. The empty configuration_data() trick is not
    necessary any more.

 doc/grilo/meson.build | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/doc/grilo/meson.build b/doc/grilo/meson.build
index ef5740f..c220cd0 100644
--- a/doc/grilo/meson.build
+++ b/doc/grilo/meson.build
@@ -5,9 +5,11 @@
 #
 # Copyright (C) 2016 Igalia S.L. All rights reserved.
 
-types = configure_file(input : 'grilo.types',
-  output : 'grilo.types',
-  configuration : configuration_data())
+types = configure_file(
+  input: 'grilo.types',
+  output: 'grilo.types',
+  copy: true,
+)
 
 private_headers = [
   'grl-sync-priv.h',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]