[med-svn] [mptp] 01/02: Add bash-completion

Andreas Tille tille at debian.org
Wed Mar 15 21:20:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mptp.

commit 974a4b5eac52242bc54a46b033837110c9d69cf3
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 15 22:16:57 2017 +0100

    Add bash-completion
---
 debian/control | 5 ++++-
 debian/rules   | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 677afb4..47c66da 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Priority: optional
 Build-Depends: debhelper (>= 10),
                bison,
                flex,
-               libgsl-dev
+               libgsl-dev,
+               pkg-config,
+               bash-completion
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/mptp.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/mptp.git
@@ -16,6 +18,7 @@ Package: mptp
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Recommends: bash-completion
 Description: single-locus species delimitation
  Implementation of a fast species delimitation method, based on PTP
  (Zhang et al. 2013) with a 64-bit multi-threaded design that handles
diff --git a/debian/rules b/debian/rules
index 1238312..3d12d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,6 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- --with-bash-completions=`pkg-config --variable=completionsdir bash-completion`

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mptp.git



More information about the debian-med-commit mailing list