From 9f1ad5d86ddbabaa840eb2860279d53f4e635453 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 9 Apr 2020 20:38:02 +0200 Subject: [PATCH] =?UTF-8?q?extension-tool/build:=20Install=20completions?= =?UTF-8?q?=20relative=20to=20our=20datad=C3=ADr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is a good practice to install files relative to our own variables https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/ and it is required on systems like NixOS. Thanks to IƱigo, bash-completion support that since 2.10: https://github.com/scop/bash-completion/pull/344 --- https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1194 --- subprojects/extensions-tool/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/extensions-tool/meson.build b/subprojects/extensions-tool/meson.build index 0ac3bb0a4..0b3078de3 100644 --- a/subprojects/extensions-tool/meson.build +++ b/subprojects/extensions-tool/meson.build @@ -41,7 +41,7 @@ subdir('src') if bash_completion.found() install_data('completion/bash/gnome-extensions', - install_dir: bash_completion.get_pkgconfig_variable('completionsdir') + install_dir: bash_completion.get_pkgconfig_variable('completionsdir', define_variable: ['datadir', datadir]) ) endif