meson: omit bash completion, with custom prefix
commit8867ab9a223aaa22d844d6d7977e57b491a68c86
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 12:21:39 +0000 (2 13:21 +0100)
treec19b189e227862b27c1b5a95691473b0645e600b
parentc0d6c008ed8d66fecfd0b3012b51035ca5da7f1a
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>
meson.build