[Pkg-javascript-commits] [node-expat] 177/371: Add stamp files to avoid double configure or build.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:00 UTC 2016


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

js pushed a commit to branch master
in repository node-expat.

commit 09c98534ac2230f80f80a49fb85758d2982b07dd
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Jun 22 19:19:48 2012 +0200

    Add stamp files to avoid double configure or build.
---
 debian/rules | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index fd11b7a..9a2e84d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,12 +38,16 @@ DEB_UPSTREAM_TARBALL_MD5 = fd5669799856e52b3d35c55a8795a3c7
 
 DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
 
-configure/$(libpkgname)::
+configure/$(libpkgname):: debian/stamp-node-waf-configure
+debian/stamp-node-waf-configure:
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf configure
+	touch $@
 
-build/$(libpkgname)::
+build/$(libpkgname):: debian/stamp-node-waf-build
+debian/stamp-node-waf-build:
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf build
 	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node test.js)
+	touch $@
 
 install/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf install
@@ -58,3 +62,4 @@ binary-predeb-IMPL/$(libpkgname)::
 clean::
 	rm -rf build
 	rm -f .lock-wscript
+	rm -f debian/stamp-node-waf-configure debian/stamp-node-waf-build

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



More information about the Pkg-javascript-commits mailing list