bash-completion: Disable during "make distcheck" as this requires installing files...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 26 Nov 2015 17:41:36 +0000 (23:11 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 26 Nov 2015 17:41:36 +0000 (23:11 +0530)
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.

Makefile.am

index c6bb205..e33bfd2 100644 (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