Use dh_install instead of dh_bash-completion to install the bash
authorgregor herrmann <gregoa@debian.org>
Thu, 5 Feb 2009 19:54:42 +0000 (19:54 -0000)
committergregor herrmann <gregoa@debian.org>
Thu, 5 Feb 2009 19:54:42 +0000 (19:54 -0000)
completion snippet in order to work around a problem on the amd64 buildd
(closes: #513115). Drop build dependency on bash-completion.

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

index 573b41c0b2c0df2e46fe79339df5c6d847d360db..bee0e5fd0fc025a50c5a6b3664203277db24eb5f 100644 (file)
@@ -1,6 +1,9 @@
 bti (013-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Use dh_install instead of dh_bash-completion to install the bash
+    completion snippet in order to work around a problem on the amd64 buildd
+    (closes: #513115). Drop build dependency on bash-completion.
 
  -- gregor herrmann <gregoa@debian.org>  Thu, 05 Feb 2009 20:33:44 +0100
 
index 758b3b92285ccd22cb834c39a50a6e96155b72e6..5c26ade6d5a864d5e4d0aa9eb8e5b51f0cac57de 100644 (file)
@@ -1,2 +1 @@
 bti.1
-debian/bti.bash-completion
index 93354a767058133887b163a41ddddfacc97579da..f4464e16a686f321fc1581bbc2548f546ea1dd67 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), bash-completion,
+Build-Depends: debhelper (>= 7), quilt (>= 0.40),
  libcurl4-gnutls-dev, libreadline5-dev, xmlto
 Standards-Version: 3.8.0
 Vcs-Svn: http://svn.toastfreeware.priv.at/debian/bti/trunk/
index c37af1768c7458aae23ce29fc54bf5558e250ecd..ef5211f0515f1f30a8ae4cde0326d429df50c441 100644 (file)
@@ -1 +1,2 @@
 bti usr/bin
+bti-bashcompletion etc/bash_completion.d
index c3054f23ec3394ffe107f58263bee2c0c634495f..a6c48c2df332e35ab1199ca5ea8fd5f22411c9f0 100755 (executable)
@@ -5,7 +5,6 @@ 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
@@ -13,9 +12,8 @@ clean: unpatch
 
 install: install-stamp
 install-stamp: build-stamp
-       dh install --until dh_link
-       dh_bash-completion
-       dh install --remaining
+       dh install
+       mv debian/bti/etc/bash_completion.d/bti-bashcompletion debian/bti/etc/bash_completion.d/bti
        touch $@
 
 binary-arch: install