[libhtml-html5-sanity-perl] 02/18: Tidy rules file: Reorganize package relations.

Jonas Smedegaard dr at jones.dk
Thu Aug 31 22:43:46 UTC 2017


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

js pushed a commit to branch master
in repository libhtml-html5-sanity-perl.

commit 12070361d21611316373d0f69720999d232b5e79
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Aug 31 23:52:32 2017 +0200

    Tidy rules file: Reorganize package relations.
---
 debian/rules | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7fe2d7d..3d6684c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,16 +21,18 @@ 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 = HTML-HTML5-Sanity
 #DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTTP
 DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
 DEB_UPSTREAM_TARBALL_MD5 = f2d98fd28fc716e9c4d4403126146360
 
-# Needed both by upstream build process and at runtime
-common-depends = libxml-libxml-perl
+# Needed by upstream build and (always) at runtime
+deps +=, libxml-libxml-perl
 
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+# Needed by upstream testsuite
+deps-test = libxml-libxml-debugging-perl
 
-# Needed by upstream tests
-CDBS_BUILD_DEPENDS += , libxml-libxml-debugging-perl
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-html5-sanity-perl.git



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