[Pkg-javascript-commits] [backbone] 09/14: Tidy rules: Merge build targets.

Jonas Smedegaard dr at jones.dk
Tue Aug 30 20:55:35 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 e0dcf503c870e3174db7cfc0b21308b4cd7e5e04
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Aug 30 21:19:27 2016 +0200

    Tidy rules: Merge build targets.
---
 debian/rules | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index f71e5fe..4c9e4f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,14 +53,6 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/images/.*\.(jpg|png)|debian/(changelog|
 
 DEB_INSTALL_DOCS_ALL += README.md
 
-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)
-	touch $@
-clean::
-	rm -f debian/stamp-build
-
 DEB_INSTALL_DOCS_ALL += index.html
 DEB_INSTALL_EXAMPLES_$(pkg-js) += examples/*
 
@@ -70,6 +62,8 @@ DEB_DH_INSTALL_ARGS_$(pkg-js) = $(js-reg) $(js-min) $(js-destdir)
 build/$(pkg-js):: $(js-min)
 $(js-min): debian/%.min.js: %.js
 	uglifyjs -o $@ $<
+	$(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)
 clean::
 	rm -f $(js-min)
 

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