diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-11-11 20:20:27 +0100 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2017-11-13 10:57:28 +0100 |
commit | 1c67c2a079a79b237405ad5c2f3c6b63568b5078 (patch) | |
tree | 590d4c8ea7e471365ede2e47ec512871122da79c | |
parent | d5cf7dd01493f155b1e67c9777044880ca034dfe (diff) | |
download | network-manager-applet-1c67c2a079a79b237405ad5c2f3c6b63568b5078.tar.gz |
build(meson): Improve AppStream metainfo handlingwip/inigomartinez/meson-improvements
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
-rw-r--r-- | meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build index eb6e6c20..34df7aea 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() |