[Pkg-mpd-commits] [pkg-mpc] 02/04: Install bash completion into proper path using dh_bash-completion

Florian Schlichting fsfs at moszumanska.debian.org
Wed Sep 9 14:01:53 UTC 2015


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

fsfs pushed a commit to branch master
in repository pkg-mpc.

commit 9fd987f4eefb560cabb7795bc335183818381559
Author: Florian Schlichting <fsfs at debian.org>
Date:   Wed Sep 9 15:38:25 2015 +0200

    Install bash completion into proper path using dh_bash-completion
---
 debian/control             | 1 +
 debian/mpc.bash-completion | 1 +
 debian/rules               | 5 +----
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 401b802..f5454e2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-mpd/pkg-mpc.git
 Vcs-Git: git://anonscm.debian.org/pkg-mpd/pkg-mpc.git
 Homepage: http://www.musicpd.org/clients/mpc/
 Build-Depends: autoconf-archive,
+ bash-completion,
  check,
  debhelper (>= 9),
  dh-autoreconf,
diff --git a/debian/mpc.bash-completion b/debian/mpc.bash-completion
new file mode 100644
index 0000000..acc1b7e
--- /dev/null
+++ b/debian/mpc.bash-completion
@@ -0,0 +1 @@
+doc/mpc-completion.bash mpc
diff --git a/debian/rules b/debian/rules
index 7ce56d8..737bc5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf --with bash-completion
 
 # uncomment as needed for user customization:
 
@@ -16,9 +16,6 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-test $(DEB_CONFIGURE_USER_FLAGS)
 
-override_dh_install:
-	install -m 644 -D doc/mpc-completion.bash $(CURDIR)/debian/mpc/etc/bash_completion.d/mpc
-
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpc.git



More information about the Pkg-mpd-commits mailing list