[Pkg-javascript-commits] [node-async] 16/26: Fix have node-async symlink from and depend on libjs-async (not ship duplicate code).
Jonas Smedegaard
dr at jones.dk
Sun Jan 7 17:19:56 UTC 2018
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.8.0-2
in repository node-async.
commit 819500c7225b303737861e02302673769a620c90
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Jan 7 17:06:39 2018 +0100
Fix have node-async symlink from and depend on libjs-async (not ship duplicate code).
---
debian/control | 1 +
debian/rules | 10 +++-------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index 24235d0..08a0731 100644
--- a/debian/control
+++ b/debian/control
@@ -31,6 +31,7 @@ Description: functions and patterns for asynchronous code - web browsers
Package: node-async
Architecture: all
Depends: ${misc:Depends},
+ libjs-async,
nodejs
Description: functions and patterns for asynchronous code - Node.js
Async is a utility module which provides straight-forward, powerful
diff --git a/debian/rules b/debian/rules
index b384aed..8b47327 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,11 +36,9 @@ js-destdir = /usr/share/javascript/$(libdirname)
node-destdir = /usr/lib/nodejs
-DEB_DH_INSTALL_ARGS_DEFAULT = $(js-stems:%=$(js-basedir)%.js) debian/*.min.js $(js-destdir)
-DEB_DH_INSTALL_ARGS_$(pkg-node) = \
- package.json \
- $(js-stems:%=$(js-basedir)%.js) \
- $(node-destdir)
+DEB_DH_INSTALL_ARGS_$(pkg-js) = $(js-stems:%=$(js-basedir)%.js) debian/*.min.js $(js-destdir)
+DEB_DH_INSTALL_ARGS_$(pkg-node) = package.json $(node-destdir)
+DEB_DH_LINK_$(pkg-node) = $(js-destdir)/$(js-nodestem).js $(node-destdir)/$(lib).js
build/$(pkg-js):: $(js-min)
$(js-min): debian/%.min.js: $(js-basedir)%.js
@@ -49,7 +47,5 @@ clean::
rm -f debian/*.js
# Unset executable bit on library files
-binary-post-install/$(pkg-node)::
- chmod -x debian/$(cdbs_curpkg)$(node-destdir)/*
binary-post-install/$(pkg-js)::
chmod -x debian/$(cdbs_curpkg)$(js-destdir)/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list