[Pkg-javascript-commits] [node-bluebird] 02/03: Remove async.js and use packed version instead

Ross Gammon ross-guest at moszumanska.debian.org
Tue Mar 3 19:40:41 UTC 2015


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

ross-guest pushed a commit to branch master
in repository node-bluebird.

commit 8646d221a878f667dd5610ec14c937fa0e59f0e0
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Tue Mar 3 20:06:31 2015 +0100

    Remove async.js and use packed version instead
---
 debian/control             | 3 ++-
 debian/node-bluebird.links | 1 +
 debian/rules               | 6 ++++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index bfeec25..a26a8e9 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Section: web
 Priority: extra
 Build-Depends: debhelper (>= 9),
                dh-buildinfo,
-               nodejs
+               nodejs,
+               dh-linktree
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-bluebird.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-bluebird.git
diff --git a/debian/node-bluebird.links b/debian/node-bluebird.links
new file mode 100644
index 0000000..3d317f2
--- /dev/null
+++ b/debian/node-bluebird.links
@@ -0,0 +1 @@
+usr/lib/nodejs/async.js usr/lib/nodejs/bluebird/async.js
diff --git a/debian/rules b/debian/rules
index 742ca66..8e7505e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
-
+	dh $@ --with linktree
 
+override_dh_auto_install:
+	# Remove embedded async to use packaged version instead
+	rm -r $(CURDIR)/src/async.js

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



More information about the Pkg-javascript-commits mailing list