[gnome-clocks/bilelmoussaoui/docs: 1/2] meson: use files instead of lists




commit 61f49a1d346a979569c1c5f935f7e2fbdf89b866
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Mon Oct 5 21:15:02 2020 +0200

    meson: use files instead of lists
    
    this forces the existence of the files.

 help/meson.build |  8 ++++----
 src/meson.build  | 12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/help/meson.build b/help/meson.build
index 8d00767..c5b3cb2 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -1,4 +1,4 @@
-help_files = [
+help_files = files(
   'alarm-add.page',
   'alarm-edit.page',
   'alarm-remove.page',
@@ -10,11 +10,11 @@ help_files = [
   'world-remove.page',
   'index.page',
   'legal.xml'
-]
+)
 
-help_media = [
+help_media = files(
   'figures/gnome-clocks.png'
-]
+)
 
 gnome.yelp(
   meson.project_name(),
diff --git a/src/meson.build b/src/meson.build
index 47f1d4c..4673332 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,8 +1,8 @@
-vapi_sources = [
+vapi_sources = files(
   'config.vapi',
-]
+)
 
-clocks_vala_sources = [
+clocks_vala_sources = files(
   'alarm-day-picker-row.vala',
   'alarm-face.vala',
   'alarm-item.vala',
@@ -33,12 +33,12 @@ clocks_vala_sources = [
   'world-row.vala',
   'world-shell-world-clocks.vala',
   'world-standalone.vala',
-]
+)
 
-clocks_c_sources = [
+clocks_c_sources = files(
   'cutils.c',
   'twilight.c',
-]
+)
 
 clocks_sources = [
   vapi_sources,


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