aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-03-12 14:24:52 -0300
committerDavid Bremner <david@tethera.net>2017-03-25 12:01:22 -0300
commit949a5ac4d40fae1ab28e1e310c1b3cf130782d33 (patch)
treedee73aba50e89bd22b318bc9bfd98eafc3df9370
parentd877240f4e097eb3dd477409a24155c10e0b3c17 (diff)
configure: change default bash completion location to /usr/share
At least Fedora and Debian now use /usr/share/bash-completion/completions now. Apparently /etc/bash_completion.d will be phased out at some point in the future.
-rwxr-xr-xconfigure4
-rw-r--r--debian/notmuch.install2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 03131275..3447d868 100755
--- a/configure
+++ b/configure
@@ -143,7 +143,7 @@ Fine tuning of some installation directories is available:
--sysconfdir=DIR Read-only single-machine data [PREFIX/etc]
--emacslispdir=DIR Emacs code [PREFIX/share/emacs/site-lisp]
--emacsetcdir=DIR Emacs miscellaneous files [PREFIX/share/emacs/site-lisp]
- --bashcompletiondir=DIR Bash completions files [SYSCONFDIR/bash_completion.d]
+ --bashcompletiondir=DIR Bash completions files [PREFIX/share/bash-completion/completions]
--zshcompletiondir=DIR Zsh completions files [PREFIX/share/zsh/functions/Completion/Unix]
Some features can be disabled (--with-feature=no is equivalent to
@@ -1042,7 +1042,7 @@ HAVE_DOXYGEN=${have_doxygen}
desktop_dir = \$(prefix)/share/applications
# The directory to which bash completions files should be installed
-bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(sysconfdir)/bash_completion.d}
+bash_completion_dir = ${BASHCOMPLETIONDIR:=\$(prefix)/share/bash-completion/completions}
# The directory to which zsh completions files should be installed
zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/functions/Completion/Unix}
diff --git a/debian/notmuch.install b/debian/notmuch.install
index 86e891d4..31b9a37e 100644
--- a/debian/notmuch.install
+++ b/debian/notmuch.install
@@ -1,3 +1,3 @@
usr/bin
usr/share/man
-etc/bash_completion.d
+usr/share/bash-completion