aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian von Roques <roques@mti.ag>2012-05-23 15:27:41 -0400
committerChristian von Roques <roques@mti.ag>2012-05-23 15:27:41 -0400
commitdbd9c486bb02c567668c8f3952f37c1917d8bcca (patch)
tree2e1e4c4bedfe1f1be1d7de6d82c5bab96505366d
parent33d7d932982dcf474c00a7e41215aff40501148f (diff)
Use debhelper to install bitcoind.bash-completion
-rw-r--r--contrib/debian/bitcoind.bash-completion1
-rw-r--r--contrib/debian/control1
-rwxr-xr-xcontrib/debian/rules2
3 files changed, 3 insertions, 1 deletions
diff --git a/contrib/debian/bitcoind.bash-completion b/contrib/debian/bitcoind.bash-completion
new file mode 100644
index 0000000000..0f84707b66
--- /dev/null
+++ b/contrib/debian/bitcoind.bash-completion
@@ -0,0 +1 @@
+contrib/bitcoind.bash-completion bitcoind
diff --git a/contrib/debian/control b/contrib/debian/control
index 745fd71ea8..de067d8fc4 100644
--- a/contrib/debian/control
+++ b/contrib/debian/control
@@ -5,6 +5,7 @@ Maintainer: Jonas Smedegaard <dr@jones.dk>
Uploaders: Micah Anderson <micah@debian.org>
Build-Depends: debhelper,
devscripts,
+ bash-completion,
libboost-system-dev (>> 1.35) | libboost-system1.35-dev,
libdb4.8++-dev,
libssl-dev,
diff --git a/contrib/debian/rules b/contrib/debian/rules
index 49c7766d13..98bb2bba1c 100755
--- a/contrib/debian/rules
+++ b/contrib/debian/rules
@@ -9,7 +9,7 @@ DEB_INSTALL_EXAMPLES_bitcoind += debian/examples/*
DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
%:
- dh $@
+ dh --with bash-completion $@
override_dh_auto_build:
cd src; $(MAKE) -f makefile.unix bitcoind