[mb2md] 20/30: Use dh_install instead of calling cp manually
Axel Beckert
abe at deuxchevaux.org
Wed Oct 16 21:56:29 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository mb2md.
commit 66d3efde2ae6978db588c6f98bef6ca6f1d648cf
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Oct 16 16:38:14 2013 +0200
Use dh_install instead of calling cp manually
Use dh-exec in debian/install, add according build-dependency
---
debian/changelog | 2 ++
debian/control | 1 +
debian/install | 2 ++
debian/rules | 2 +-
4 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4952c80..984520a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ mb2md (3.20-5) UNRELEASED; urgency=low
+ Remove all code related to compiling C code
+ No more clean up stamp files manually (dh_clean does that now)
+ Use debian/manpages instead of dh_installman parameters
+ + Use dh_install and debian/install (with dh-exec, build-dependency
+ added) instead of calling cp manually.
* Fix further lintian warnings:
+ description-possibly-contains-homepage and no-homepage-field
diff --git a/debian/control b/debian/control
index 689da27..2104a05 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: net
Priority: optional
Maintainer: Axel Beckert <abe at debian.org>
Build-Depends: debhelper (>= 9~),
+ dh-exec,
docbook-to-man
Standards-Version: 3.7.3
Homepage: http://batleth.sapienti-sat.org/projects/mb2md/
diff --git a/debian/install b/debian/install
new file mode 100755
index 0000000..36c90e7
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+#!/usr/bin/dh-exec
+mb2md-3.20.pl => usr/bin/mb2md
diff --git a/debian/rules b/debian/rules
index 8674fde..bde7509 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,7 @@ install: build
dh_installdirs
# Add here commands to install the package into debian/mb2md.
- cp mb2md-3.20.pl $(CURDIR)/debian/mb2md/usr/bin/mb2md
+ dh_install
# Build architecture-dependent files here.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/mb2md.git
More information about the Pkg-perl-cvs-commits
mailing list