[Pkg-javascript-commits] [node-async] 14/26: Tidy rules: Rename variable libname → lib.

Jonas Smedegaard dr at jones.dk
Sun Jan 7 17:19:55 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 f1f8fd3d76c9ee3038f81a427c82968512c221c1
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Jan 7 16:40:47 2018 +0100

    Tidy rules: Rename variable libname → lib.
---
 debian/rules | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 538433e..46f2335 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,10 +19,10 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-libname = async
-libdirname = $(libname)
-libpkgname = libjs-$(libname)
-nodepkgname = node-$(libname)
+lib = $(patsubst node-%,%,$(DEB_SOURCE_PACKAGE))
+libdirname = $(lib)
+libpkgname = libjs-$(lib)
+nodepkgname = node-$(lib)
 
 DEB_INSTALL_DOCS_ALL += README.md
 
@@ -30,7 +30,7 @@ DEB_INSTALL_DOCS_ALL += README.md
 
 js-basedir = lib/
 #js-stems = $(basename $(wildcard $(js-basedir)*.js))
-js-stems = $(libname)
+js-stems = $(lib)
 js-min = $(js-stems:%=debian/%.min.js)
 js-destdir = /usr/share/javascript/$(libdirname)
 

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