[Pkg-javascript-commits] [ltx] 53/80: Update package relations: Declare dependencies CDBS-style in rules file.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:50:12 UTC 2016


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

js pushed a commit to branch master
in repository ltx.

commit 145014f08d8c681b3c7b3e88af1b722087fa128a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Mar 25 12:57:29 2012 +0200

    Update package relations: Declare dependencies CDBS-style in rules file.
---
 debian/control.in | 3 +--
 debian/rules      | 4 +++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index e1845c1..d891278 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -12,8 +12,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ltx.git
 Package: node-ltx
 Architecture: all
 Depends: ${misc:Depends},
- node-node-expat,
- nodejs
+ ${cdbs:Depends}
 Description: XML DOM builder library for Node
  Node is an event-based server-side JavaScript engine.
  .
diff --git a/debian/rules b/debian/rules
index d357728..49483cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 
 libpkgname = node-ltx
 
-CDBS_BUILD_DEPENDS += , node-node-expat, node-vows
+deps = node-node-expat
+CDBS_BUILD_DEPENDS += , $deps, node-vows
+CDBS_DEPENDS_$(libpkgname) = $deps, nodejs
 
 # suppress optional build-dependencies
 CDBS_BUILD_DEPENDS_rules_upstream-tarball =

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list