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 573b41c..bee0e5f 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 758b3b9..5c26ade 100644 (file)
@@ -1,2 +1 @@
 bti.1
-debian/bti.bash-completion
index 93354a7..f4464e1 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 c37af17..ef5211f 100644 (file)
@@ -1 +1,2 @@
 bti usr/bin
+bti-bashcompletion etc/bash_completion.d
index c3054f2..a6c48c2 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