diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:28:29 +0000 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:28:29 +0000 |
commit | 6d482654c3111b023f879ecdc5d96e24b211bde2 (patch) | |
tree | 676b79f1a9f2e4808e262310b42f79582974f703 | |
parent | 4305d024938113df5d73021a09eb2a991f54ca2f (diff) |
Add bash completion support
* Use dh addon for bash completion (--with bash-completion)
* debian/control
- add Build-Depends: bash-completion to use dh_bash-completion
* debian/rules
- call dh_bash-completion
* add debian/btrfs-progs.bash-completion Closes: #840302, #800790.
-rw-r--r-- | debian/btrfs-progs.bash-completion | 1 | ||||
-rw-r--r-- | debian/changelog | 11 | ||||
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/debian/btrfs-progs.bash-completion b/debian/btrfs-progs.bash-completion new file mode 100644 index 00000000..76914ea7 --- /dev/null +++ b/debian/btrfs-progs.bash-completion @@ -0,0 +1 @@ +btrfs-completion btrfs diff --git a/debian/changelog b/debian/changelog index eb3767c0..fb8420c4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,17 @@ btrfs-progs (4.9.1-1) UNRELEASED; urgency=medium + [ Dimitri John Ledkov ] * New upstream release Closes: #849353, #817806, #854915, #845473 + * Use dh addon for bash completion (--with bash-completion) + + [ Hideki Yamane ] + * debian/control + - add Build-Depends: bash-completion to use dh_bash-completion + * debian/rules + - call dh_bash-completion + * add debian/btrfs-progs.bash-completion Closes: #840302, #800790. - -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 13 Feb 2017 11:21:54 +0000 + -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 13 Feb 2017 11:25:12 +0000 btrfs-progs (4.7.3-1) unstable; urgency=medium diff --git a/debian/control b/debian/control index e0340226..349a4e35 100644 --- a/debian/control +++ b/debian/control @@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 9), zlib1g-dev, asciidoc, xmlto, + bash-completion, Standards-Version: 3.9.8 Homepage: http://btrfs.wiki.kernel.org/ Vcs-Browser: https://browse.dgit.debian.org/btrfs-progs.git diff --git a/debian/rules b/debian/rules index 9c7cfae8..60fba6c3 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CFLAGS := $(patsubst -O2,-Os,$(CFLAGS)) %: - dh ${@} --parallel + dh ${@} --parallel --with bash-completion override_dh_auto_configure: dh_auto_configure -- --bindir=/bin |