From 0ced72e34575b0d95fa0247a241b980b0ece29c9 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Mon, 31 Oct 2016 17:15:52 +1100 Subject: [PATCH] Install Bash completion script from current location. --- debian/bash-completion | 5 +++++ debian/changelog | 1 + debian/control | 1 + debian/rules | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 debian/bash-completion diff --git a/debian/bash-completion b/debian/bash-completion new file mode 100644 index 0000000..b277b53 --- /dev/null +++ b/debian/bash-completion @@ -0,0 +1,5 @@ +# debian/bash-completion +# Bash command completion scripts to install for the ‘dput’ package. +# Manual page: ‘dh_bash-completion(1)’. + +dput/bash-completion dput diff --git a/debian/changelog b/debian/changelog index bf9649e..c474e99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ dput (0.11.0~4) experimental; urgency=medium * Correct copyright information for Distutils configuration script. * Correct copyright information for Debian packaging files. * Correctly record license grant and license conditions. + * Explicitly handle Bash command completion script. -- diff --git a/debian/control b/debian/control index 55e307e..3b3310b 100644 --- a/debian/control +++ b/debian/control @@ -13,6 +13,7 @@ Build-Depends-Indep: python-setuptools, python (>= 2.7), debconf-utils (>= 1.1.1), + bash-completion, dh-python, debhelper (>= 9~) Standards-Version: 3.9.8 diff --git a/debian/rules b/debian/rules index 29e8ba1..b9914a0 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ export PYBUILD_INSTALL_ARGS ?= \ %: - dh $@ --with=python2 --buildsystem=pybuild + dh $@ --with=bash-completion,python2 --buildsystem=pybuild override_dh_clean: -- 2.11.4.GIT