You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:39:29 UTC

[buildstream] 15/17: meson: Only install bash completion when it's enabled

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch sam/meson
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 11ffa04d15209705be508946b307ebbaaf0bba58
Author: Sam Thursfield <sa...@codethink.co.uk>
AuthorDate: Tue Dec 19 16:05:26 2017 +0000

    meson: Only install bash completion when it's enabled
---
 buildstream/data/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/buildstream/data/meson.build b/buildstream/data/meson.build
index 5d4c950..eda257e 100644
--- a/buildstream/data/meson.build
+++ b/buildstream/data/meson.build
@@ -8,5 +8,7 @@ data = [
 install_data(data,
     install_dir: join_paths(python_site_packages_dir, 'buildstream', 'data'))
 
-install_data('bst',
+if install_bash_completion
+  install_data('bst',
     install_dir: bash_completion_dir)
+endif