Install the new bash completion script; add bash-completion to
authorgregor herrmann <gregoa@debian.org>
Sat, 24 Jan 2009 23:49:38 +0000 (23:49 -0000)
committergregor herrmann <gregoa@debian.org>
Sat, 24 Jan 2009 23:49:38 +0000 (23:49 -0000)
Build-Depends and Suggests.

debian/changelog
debian/clean
debian/control
debian/rules

index 439fc02..28072fb 100644 (file)
@@ -1,6 +1,8 @@
 bti (012-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Install the new bash completion script; add bash-completion to
+    Build-Depends and Suggests.
 
  -- gregor herrmann <gregoa@debian.org>  Sat, 24 Jan 2009 17:35:19 +0100
 
index 5c26ade..758b3b9 100644 (file)
@@ -1 +1,2 @@
 bti.1
+debian/bti.bash-completion
index 3f15f74..93354a7 100644 (file)
@@ -3,7 +3,7 @@ Section: net
 Priority: extra
 Maintainer: gregor herrmann <gregoa@debian.org>
 Uploaders: tony mancill <tmancill@debian.org>
-Build-Depends: debhelper (>= 7), quilt (>= 0.40),
+Build-Depends: debhelper (>= 7), quilt (>= 0.40), bash-completion,
  libcurl4-gnutls-dev, libreadline5-dev, xmlto
 Standards-Version: 3.8.0
 Vcs-Svn: http://svn.toastfreeware.priv.at/debian/bti/trunk/
@@ -12,6 +12,7 @@ Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/bti/trunk
 Package: bti
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: bash-completion
 Description: command line micro-blogging tool
  bti sends a tweet message to twitter.com or identi.ca.
  .
index 56dc9fa..c3054f2 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