bash-completion: Disable during "make distcheck" as this requires installing files outside the prefix

automake requires all files to be installed inside the prefix. bash-completion
requires the files to be in a specific directory given by a pkg-config file.
As such those two are having incompatible requirements and we just disable
bash-completion installation for the time being when running "make distcheck".

Nonetheless things like "make install" with e.g. a DESTDIR or a private
installation into a user's directory will fail as in both cases the
bash-completion data would be tried to be installed system-wide.
This commit is contained in:
Sebastian Dröge 2015-11-26 23:11:36 +05:30
parent c37da5d89c
commit 934c4af950

View file

@ -1,4 +1,4 @@
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --with-bash-completion-dir=no
SUBDIRS = ges tests tools common m4 pkgconfig docs bindings plugins