[Pkg-javascript-commits] [json-js] 11/18: Tidy rules: Reorder variables and rules roughly as used.
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 09:48:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository json-js.
commit 2d713ca575fbab9d207f24bad64c09c661078cce
Author: Jonas Smedegaard <dr at jones.dk>
Date: Wed Aug 31 11:37:11 2016 +0200
Tidy rules: Reorder variables and rules roughly as used.
---
debian/rules | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3dc96d3..2557f2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,16 +23,13 @@ include /usr/share/cdbs/1/rules/debhelper.mk
libname = json
libdirname = $(libname)
pkg = libjs-$(libname)
-
-CDBS_BUILD_DEPENDS +=, uglifyjs, node-source-map
-
-DEB_UPSTREAM_URL = https://github.com/douglascrockford/JSON-js/archive
-
js-reg = $(wildcard *.js)
js-min = $(js-reg:js=min.js)
js-destdir = /usr/share/javascript/$(libdirname)
-DEB_DH_INSTALL_ARGS_DEFAULT = $(js-reg) $(js-min) $(js-min:js=map) $(js-destdir)
+CDBS_BUILD_DEPENDS +=, uglifyjs, node-source-map
+
+DEB_UPSTREAM_URL = https://github.com/douglascrockford/JSON-js/archive
build/$(pkg):: $(js-min)
$(js-min): %.min.js: %.js
@@ -40,5 +37,7 @@ $(js-min): %.min.js: %.js
clean::
rm -f $(js-min) $(js-min:js=map)
+DEB_DH_INSTALL_ARGS_DEFAULT = $(js-reg) $(js-min) $(js-min:js=map) $(js-destdir)
+
binary-fixup/$(pkg)::
chmod -x $(cdbs_curdestdir)/usr/share/javascript/json/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/json-js.git
More information about the Pkg-javascript-commits
mailing list