summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/btrfs-progs.bash-completion1
-rw-r--r--debian/changelog11
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules2
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