Install the new bash completion script; add bash-completion to
[debian/bti.git] / debian / rules
index 56dc9fa8f35abbc5984099e52200da7cf8071f1a..c3054f23ec3394ffe107f58263bee2c0c634495f 100755 (executable)
@@ -5,6 +5,7 @@ include /usr/share/quilt/quilt.make
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
        dh build
+       cp $(CURDIR)/bti-bashcompletion $(CURDIR)/debian/bti.bash-completion
        touch $@
 
 clean: unpatch
@@ -12,7 +13,9 @@ clean: unpatch
 
 install: install-stamp
 install-stamp: build-stamp
-       dh install
+       dh install --until dh_link
+       dh_bash-completion
+       dh install --remaining
        touch $@
 
 binary-arch: install