[libplack-middleware-crossorigin-perl] 08/10: Tidy rules file.

Jonas Smedegaard dr at jones.dk
Wed Oct 15 12:17:45 UTC 2014


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

js pushed a commit to branch master
in repository libplack-middleware-crossorigin-perl.

commit b5dfff471f1ec379202957e936d90c8e5d90325b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Oct 15 14:06:26 2014 +0200

    Tidy rules file.
---
 debian/rules | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0c0a449..f7a18b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,13 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
 DEB_UPSTREAM_PACKAGE = Plack-Middleware-CrossOrigin
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Plack
 
-# Needed both by upstream build process and at runtime
+# Needed by upstream build and (always) at runtime
 common-depends = libplack-perl
+
 CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+CDBS_DEPENDS_$(pkg) = $(common-depends)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libplack-middleware-crossorigin-perl.git



More information about the Pkg-perl-cvs-commits mailing list