[Pkg-javascript-commits] [node-async] 18/26: Fix install nodejs code into subdirectory. Closes: Bug#772835. Thanks to Olliver Schinagl.

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 d0fe1ca477515babf3470e00db5cac5dd96a168b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Jan 7 17:15:52 2018 +0100

    Fix install nodejs code into subdirectory. Closes: Bug#772835. Thanks to Olliver Schinagl.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index c49ca32..54f0edc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,11 +33,11 @@ js-stems = $(lib)
 js-min = $(js-stems:%=debian/%.min.js)
 js-destdir = /usr/share/javascript/$(lib)
 
-node-destdir = /usr/lib/nodejs
+node-destdir = /usr/lib/nodejs/$(lib)
 
 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
+DEB_DH_LINK_$(pkg-node) = $(js-destdir)/$(lib).js $(node-destdir)/index.js
 
 build/$(pkg-js):: $(js-min)
 $(js-min): debian/%.min.js: $(js-basedir)%.js

-- 
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