I’m looking for something similar to <package>.manpages or <package>.docs files within /debian folder to declare bash completion script to install. Looking at some packages (dput, mercurial-common), it appears rules files is used to install it.
I was thinking using <package>.install.
Is there a recommended way to do so?
David Paleino
[ Editor ]
You can use dhbash-completion (from the bash-completion package), or —with bashcompletion if you’re using dh7.
Read “man dh_bash-completion” for more details ;)
David
bash-completion maintainer