summaryrefslogtreecommitdiff
path: root/data/appdata/meson.build
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-06-25 12:13:30 +0200
committerBastien Nocera <hadess@hadess.net>2017-06-25 19:16:16 +0200
commit6a7965eed640db6e35d302dfb7094f616f87b054 (patch)
treef98cd76fff9bd1f887f3e0a87eef4cf269050c05 /data/appdata/meson.build
parent025ae36498a44b4c4ab530581a0d710650e8cd4d (diff)
downloadtotem-6a7965eed640db6e35d302dfb7094f616f87b054.tar.gz
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
Diffstat (limited to 'data/appdata/meson.build')
-rw-r--r--data/appdata/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/appdata/meson.build b/data/appdata/meson.build
index bb038a528..290fb0232 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,)