[totem] build: Use of a variable for the AppStream XML file name



commit 6a7965eed640db6e35d302dfb7094f616f87b054
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Jun 25 12:13:30 2017 +0200

    build: Use of a variable for the AppStream XML file name
    
    The name of the AppStream XML has been moved to a variable making it
    less error prone.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784179

 data/appdata/meson.build |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/appdata/meson.build b/data/appdata/meson.build
index bb038a5..290fb02 100644
--- a/data/appdata/meson.build
+++ b/data/appdata/meson.build
@@ -1,6 +1,8 @@
+appdata = 'org.gnome.Totem.appdata.xml'
+
 i18n.merge_file ('appdata',
-                 input: 'org.gnome.Totem.appdata.xml.in',
-                 output: 'org.gnome.Totem.appdata.xml',
+                 input: appdata + '.in',
+                 output: appdata,
                  install: true,
                  install_dir: join_paths(totem_datadir, 'appdata'),
                  po_dir: po_dir,)


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