[Pkg-javascript-commits] [node-expat] 02/06: Cleanup gyp only if built, to simplify bootstrapping a build.

Jonas Smedegaard dr at jones.dk
Tue Jan 10 19:22:53 UTC 2017


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

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

commit e50fe05dffbd15c10d1239c24f4d0f2034f60556
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jan 10 19:54:57 2017 +0100

    Cleanup gyp only if built, to simplify bootstrapping a build.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 28a3684..c8dd2d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,8 +56,9 @@ install/$(pkg)::
 	install -m 644 -D -t debian/$(cdbs_curpkg)$(libdir)/build/Release \
 	build/Release/*.node
 	dh_nodejs
+cleanbuilddir::
+	[ ! -e debian/stamp-node-gyp-build ] || node-gyp clean
 clean::
-	node-gyp clean
 	rm -f debian/stamp-node-gyp-*
 
 # Node modules have an uncommon path and extension preventing

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