[med-svn] [pbbam] 10/12: Use dh-exec for library installation rather than sed-within-d/rules
Afif Elghraoui
afif at moszumanska.debian.org
Tue Jul 5 03:24:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository pbbam.
commit 5558d71a2e9c24c3a4f0197ea7c1cd31a34cb38f
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Mon Jul 4 16:35:12 2016 -0700
Use dh-exec for library installation rather than sed-within-d/rules
---
debian/control | 1 +
debian/libpbbam.install | 2 ++
debian/libpbbam.install.in | 1 -
debian/rules | 9 ---------
4 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/debian/control b/debian/control
index fd0d0cc..cb0a7ef 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Afif Elghraoui <afif at debian.org>
Build-Depends:
debhelper (>= 9),
+ dh-exec,
cmake,
# swig3.0,
doxygen,
diff --git a/debian/libpbbam.install b/debian/libpbbam.install
new file mode 100755
index 0000000..0205a5f
--- /dev/null
+++ b/debian/libpbbam.install
@@ -0,0 +1,2 @@
+#!/usr/bin/dh-exec
+lib/* usr/lib/${DEB_HOST_MULTIARCH}/pbbam/
diff --git a/debian/libpbbam.install.in b/debian/libpbbam.install.in
deleted file mode 100644
index 5403d5f..0000000
--- a/debian/libpbbam.install.in
+++ /dev/null
@@ -1 +0,0 @@
-lib/* usr/lib/@MULTIARCH@/pbbam/
diff --git a/debian/rules b/debian/rules
index 1b07798..cef8524 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,11 +22,6 @@ override_dh_auto_configure:
override_dh_auto_test:
# cd build && $(MAKE) test
-override_dh_install:
- sed 's/@MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
- debian/libpbbam.install.in > debian/libpbbam.install
- dh_install
-
override_dh_link:
dh_link --package=libpbbam-dev \
/usr/lib/$(DEB_HOST_MULTIARCH)/pbbam/libpbbam.so \
@@ -35,7 +30,3 @@ override_dh_link:
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
-
-override_dh_auto_clean:
- dh_auto_clean
- $(RM) debian/libpbbam.install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbbam.git
More information about the debian-med-commit
mailing list