Use dh_bash-completion to install bash completion script

This commit is contained in:
Johannes Schauer 2016-12-02 23:44:57 +01:00 committed by Johannes 'josch' Schauer
parent 3b2ecc2732
commit ea21dd0f87
5 changed files with 5 additions and 3 deletions

2
debian/changelog vendored
View file

@ -6,6 +6,8 @@ multistrap (2.2.2) UNRELEASED; urgency=medium
target)
* Bump debhelper compatibility level to 10
* Switch debian/rules to dh and drop cdbs
* Use dh_bash-completion to install bash completion script into the right
location (fixes lintian warning about deprecated /etc/bash_completion.d/)
-- Johannes Schauer <josch@debian.org> Fri, 02 Dec 2016 23:25:07 +0100

2
debian/control vendored
View file

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Johannes Schauer <josch@debian.org>
Uploaders: Wookey <wookey@debian.org>, Neil Williams <codehelp@debian.org>
Build-Depends: debhelper (>= 10)
Build-Depends-Arch: po4a (>= 0.37.1)
Build-Depends-Arch: po4a (>= 0.37.1), bash-completion
Build-Depends-Indep: intltool
Standards-Version: 3.9.6
Vcs-Browser: https://browse.dgit.debian.org/multistrap.git/

1
debian/multistrap.bash-completion vendored Normal file
View file

@ -0,0 +1 @@
bash/multistrap

View file

@ -13,4 +13,3 @@ examples/chroot.conf ./usr/share/multistrap/
check-deps.sh ./usr/share/multistrap/
device-table.pl ./usr/share/multistrap/
update-rc.d ./usr/share/multistrap/
bash/multistrap ./etc/bash_completion.d/

2
debian/rules vendored
View file

@ -1,3 +1,3 @@
#!/usr/bin/make -f
%:
dh $@
dh $@ --with bash-completion