meson: omit bash completion, with custom prefix
commitd44ebfba5d6b1c0d4a6c307b4251f7bfeb3208d6
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 2 Jun 2022 09:13:55 +0000 (2 10:13 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 2 Jun 2022 14:26:59 +0000 (2 15:26 +0100)
treeb379f536b28f4e232fd08e45c09ea5cf1afaf600
parent792dd6d0eadc6da7ae7787de78a15e96e6df848d
meson: omit bash completion, with custom prefix

In order for bash completions to work, they must be installed in the
respective folder. Often that folder is writable only by root.

In order words, using a command line the following now is successful,
providing indicative warning message.

meson builddir --prefix `pwd`/inst
...
meson.build:140: WARNING: User provided prefix '.../inst' differs from bash-completion one '/usr'. Disabling completion.

Reported-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit 8867ab9a223aaa22d844d6d7977e57b491a68c86)
meson.build