[Pkg-mpd-commits] [pkg-mpc] 08/10: Update for files moved from doc/ to contrib/, build manpage

Florian Schlichting fsfs at moszumanska.debian.org
Mon Feb 12 20:57:01 UTC 2018


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

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

commit d8c91637321325f440cb98ff14ab916d2ad5a437
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Feb 12 21:17:24 2018 +0100

    Update for files moved from doc/ to contrib/, build manpage
---
 debian/control             | 3 ++-
 debian/mpc.bash-completion | 2 +-
 debian/mpc.examples        | 3 +--
 debian/rules               | 5 +++++
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 467a40e..f722568 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,8 @@ Build-Depends: bash-completion,
  debhelper (>= 11),
  libmpdclient-dev (>= 2.9),
  meson,
- pkg-config
+ pkg-config,
+ python3-sphinx
 Standards-Version: 4.1.3
 
 Package: mpc
diff --git a/debian/mpc.bash-completion b/debian/mpc.bash-completion
index acc1b7e..65e5e89 100644
--- a/debian/mpc.bash-completion
+++ b/debian/mpc.bash-completion
@@ -1 +1 @@
-doc/mpc-completion.bash mpc
+contrib/mpc-completion.bash mpc
diff --git a/debian/mpc.examples b/debian/mpc.examples
index 30f9def..ec18e19 100644
--- a/debian/mpc.examples
+++ b/debian/mpc.examples
@@ -1,3 +1,2 @@
 debian/examples/*
-doc/*.sh
-doc/mppledit
+contrib/*.sh
diff --git a/debian/rules b/debian/rules
index 2be7fda..22cfa10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DOCDIR=debian/mpc/usr/share/doc/mpc
+
 %:
 	dh $@ --with bash-completion
 
@@ -8,4 +10,7 @@ override_dh_auto_configure:
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
+	mv debian/mpc/usr/share/man/man1/man/mpc.1 debian/mpc/usr/share/man/man1/
+	rmdir debian/mpc/usr/share/man/man1/man
+	rm -rf ${DOCDIR}/contrib ${DOCDIR}/html ${DOCDIR}/COPYING ${DOCDIR}/NEWS ${DOCDIR}/README.rst
 

-- 
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