[network-manager-applet/wip/inigomartinez/meson-improvements: 7/7] build(meson): Improve AppStream metainfo handling



commit 1c67c2a079a79b237405ad5c2f3c6b63568b5078
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sat Nov 11 20:20:27 2017 +0100

    build(meson): Improve AppStream metainfo handling
    
    This patchs uses a variable and string concatenation to avoid any
    error caused by handwriting.
    
    Also updates the directory to be used for AppStream metainfo files.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790178

 meson.build |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index eb6e6c2..34df7ae 100644
--- a/meson.build
+++ b/meson.build
@@ -368,15 +368,15 @@ custom_target(
   install_dir: nma_appdir
 )
 
-info = 'nm-connection-editor.appdata.xml'
+appdata = 'nm-connection-editor.appdata.xml'
 
 custom_target(
-  info,
-  input: 'nm-connection-editor.appdata.xml.in',
-  output: info,
+  appdata,
+  input: appdata + '.in',
+  output: appdata,
   command: intltool_xml_cmd,
   install: true,
-  install_dir: join_paths(nma_datadir, 'appdata')
+  install_dir: join_paths(nma_datadir, 'metainfo')
 )
 
 schema_conf = configuration_data()


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