[Pkg-javascript-commits] [backbone] 01/14: Tidy rules: Rename variable pkg → lib.

Jonas Smedegaard dr at jones.dk
Tue Aug 30 20:55:33 UTC 2016


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

js pushed a commit to branch master
in repository backbone.

commit 80b62310c3295993a370c76104d3133311e1d371
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Aug 30 20:07:33 2016 +0200

    Tidy rules: Rename variable pkg → lib.
---
 debian/rules | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6d79bec..6355ada 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
 
-pkg = $(DEB_SOURCE_PACKAGE)
-jspkg = libjs-$(pkg)
-js-stems = $(pkg)
-nodepkg = node-$(pkg)
+lib = $(DEB_SOURCE_PACKAGE)
+jspkg = libjs-$(lib)
+js-stems = $(lib)
+nodepkg = node-$(lib)
 
 # Ease backporting (node-uglify is tough to backport)
 # TODO: drop fallback-dependency when uglifyjs is in Debian stable
@@ -67,7 +67,7 @@ DEB_INSTALL_EXAMPLES_$(jspkg) += examples/*
 # TODO: generalize parts below as a CDBS javascript snippet
 
 #js-basedir =
-js-dirname ?= $(pkg)
+js-dirname ?= $(lib)
 js-stems ?= $(basename $(wildcard $(js-basedir)*.js))
 js-min ?= $(js-stems:$(js-basedir)%=debian/%.min.js)
 js-destdir ?= /usr/share/javascript/$(js-dirname)
@@ -85,8 +85,8 @@ clean::
 
 # TODO: maybe generalize parts below as a CDBS node snippet
 
-node-dirname ?= $(pkg)
-js-nodestem ?= $(pkg)
+node-dirname ?= $(lib)
+js-nodestem ?= $(lib)
 node-destdir ?= /usr/lib/nodejs/
 
 DEB_DH_LINK_$(nodepkg) = $(js-destdir)/$(js-nodestem).js $(node-destdir)$(node-dirname).js

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



More information about the Pkg-javascript-commits mailing list