[Pkg-javascript-commits] [backbone] 04/14: Tidy rules: Rename variable jspkg → pkg-js.

Jonas Smedegaard dr at jones.dk
Tue Aug 30 20:55:34 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 bbc8c11e7be302249ad7b4e07168de37b0606791
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Aug 30 20:08:23 2016 +0200

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

diff --git a/debian/rules b/debian/rules
index 69a314f..ef108b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 lib = $(DEB_SOURCE_PACKAGE)
-jspkg = libjs-$(lib)
+pkg-js = libjs-$(lib)
 js-stems = $(lib)
 nodepkg = node-$(lib)
 
@@ -36,12 +36,12 @@ CDBS_BUILD_DEPENDS +=, coffeescript, libjs-json, libjs-jquery, libjs-qunit
 CDBS_BUILD_DEPENDS +=, libjs-underscore (>= $(underscore_minver))
 CDBS_BUILD_DEPENDS +=, node-underscore (>= $(underscore_minver))
 #CDBS_BUILD_DEPENDS +=, phantomjs
-CDBS_DEPENDS_$(jspkg) = libjs-underscore (>= $(underscore_minver))
+CDBS_DEPENDS_$(pkg-js) = libjs-underscore (>= $(underscore_minver))
 CDBS_DEPENDS_$(nodepkg) = nodejs, libjs-backbone
 CDBS_DEPENDS_$(nodepkg) +=, node-underscore (>= $(underscore_minver))
 CDBS_RECOMMENDS_ALL = libjs-json
 CDBS_RECOMMENDS_ALL +=, libjs-jquery | libjs-zepto | libjs-ender | libjs-lodash
-CDBS_RECOMMENDS_$(jspkg) = javascript-common
+CDBS_RECOMMENDS_$(pkg-js) = javascript-common
 CDBS_SUGGESTS_ALL +=, libjs-jquery-lazyload
 
 # Handle package split
@@ -53,7 +53,7 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/images/.*\.(jpg|png)|debian/(changelog|
 
 DEB_INSTALL_DOCS_ALL += README.md
 
-build/$(jspkg):: debian/stamp-build
+build/$(pkg-js):: debian/stamp-build
 debian/stamp-build:
 	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,coffee test/*.coffee)
 #	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,phantomjs test/vendor/runner.js test/index.html?noglobals=true)
@@ -62,7 +62,7 @@ clean::
 	rm -f debian/stamp-build
 
 DEB_INSTALL_DOCS_ALL += index.html
-DEB_INSTALL_EXAMPLES_$(jspkg) += examples/*
+DEB_INSTALL_EXAMPLES_$(pkg-js) += examples/*
 
 # TODO: generalize parts below as a CDBS javascript snippet
 
@@ -75,9 +75,9 @@ js-compressor ?= uglifyjs
 js-compressor-opts ?= -o $@ $<
 
 DEB_DH_INSTALL_ARGS_$(nodepkg) = package.json $(node-destdir)
-DEB_DH_INSTALL_ARGS_$(jspkg) = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir)
+DEB_DH_INSTALL_ARGS_$(pkg-js) = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir)
 
-build/$(jspkg):: $(js-min)
+build/$(pkg-js):: $(js-min)
 $(js-min): debian/%.min.js: $(js-basedir)%.js
 	$(js-compressor) $(js-compressor-opts)
 clean::

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