[tracker: 18/20] build: Use install_data() to install libtracker-sparql .deps vapi file



commit 277b9ba41b5314278d4de31d89da4a55bffdfbb9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Oct 13 18:06:30 2018 +0200

    build: Use install_data() to install libtracker-sparql .deps vapi file
    
    We generate that file ourselves, so configure_file() is unneeded as the
    file requires no substitutions. Fixes a warning on recent meson, as the
    configuration should not be empty.

 src/libtracker-sparql/meson.build | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
index f820031ed..17026034b 100644
--- a/src/libtracker-sparql/meson.build
+++ b/src/libtracker-sparql/meson.build
@@ -113,9 +113,8 @@ custom_target('tracker-sparql-' + tracker_api_version + '.vapi',
     install: true,
     install_dir: vapi_dir)
 
-configure_file(
-    input: 'tracker-sparql.deps',
-    output: 'tracker-sparql-' + tracker_api_version + '.deps',
-    configuration: configuration_data(), # No changes here, just a rename
-    install: true,
-    install_dir: vapi_dir)
+install_data(
+    'tracker-sparql.deps',
+    rename: ['tracker-sparql-' + tracker_api_version + '.deps'],
+    install_dir: vapi_dir,
+)


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