]> git.notmuchmail.org Git - notmuch/commitdiff
configure: change default bash completion location to /usr/share
authorDavid Bremner <david@tethera.net>
Sun, 12 Mar 2017 17:24:52 +0000 (14:24 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 25 Mar 2017 15:01:22 +0000 (12:01 -0300)
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.

configure
debian/notmuch.install

index 03131275a241c41098ba40e5b5f73fb152599dd4..3447d868a552965ceed58c30946e0908f1730286 100755 (executable)
--- 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}
index 86e891d4aefc5ad6a593b68f81981dfa85bbcf45..31b9a37eb18f10b004b2a95b67e7e1c676515209 100644 (file)
@@ -1,3 +1,3 @@
 usr/bin
 usr/share/man
-etc/bash_completion.d
+usr/share/bash-completion