build: Install bash-completion relative to datadir
authorJan Tojnar <jtojnar@gmail.com>
Thu, 16 Apr 2020 09:40:49 +0000 (11:40 +0200)
committerJan Tojnar <jtojnar@gmail.com>
Thu, 16 Apr 2020 13:50:02 +0000 (15:50 +0200)
commitdd2ec3681e2d38e13e01477efa36e851650690fb
tree70fa3d70cade4493e0e361c06fd386ed4631a649
parentde0ec87ba13bc087fbdd67ef2a40d5dcaf2610da
build: Install bash-completion relative to datadir

Since bash-completion 2.9, it was no longer possible to override
the completionsdir through prefix. [1] In 2.10, the overridability
was re-estabilished but this time through datadir variable. [2]

This should not really matter except for developers installing the project
into a custom prefix or distros using per-package prefixes like NixOS.

[1]: https://github.com/scop/bash-completion/commit/81ba2c7e7dfbaefbafa1e8615727c9612e5fb314
[2]: https://github.com/scop/bash-completion/pull/344
meson.build