summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-11-26 23:11:36 +0530
committerThibault Saunier <tsaunier@gnome.org>2015-12-11 14:47:16 +0100
commit16e4aed1449c54aa225a28c17e0db9628fdb862f (patch)
tree2c5600232a1cf091958aa67bd7d0f5ad443de31e
parentc6b91172ce41bf2490cc38c4d2f962781430ba08 (diff)
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.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c6bb2052..e33bfd2e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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