[Pkg-javascript-commits] [SCM] framework for using backbone.js on client and server for NodeJS branch, master, updated. debian/2.0.0-2-3-ge69dba4

David Paleino dapal at debian.org
Sun Oct 16 20:02:39 UTC 2011


The following commit has been merged in the master branch:
commit e69dba4618bd0a8fdc173923c4ff1c6891614084
Author: David Paleino <dapal at debian.org>
Date:   Sun Oct 16 21:55:03 2011 +0200

    Implemented get-orig-source target to get rid of unused jquery.js file

diff --git a/debian/changelog b/debian/changelog
index 06ea746..6282cc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 node-bones (2.0.0-3) UNRELEASED; urgency=low
 
   * Added debian/watch file
+  * Implemented get-orig-source target to get rid of unused jquery.js
+    file
 
- -- David Paleino <dapal at debian.org>  Sun, 16 Oct 2011 21:50:26 +0200
+ -- David Paleino <dapal at debian.org>  Sun, 16 Oct 2011 21:54:47 +0200
 
 node-bones (2.0.0-2) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index ccb67aa..738d24a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,24 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\  -f2 | cut -d- -f1 | cut -d+ -f1)
+
 %:
 	dh $@ 
 
 override_dh_install:
 	dh_install
 	dh_buildinfo
+
+get-orig-source:
+	uscan \
+		--verbose \
+		--force-download \
+		--download-version $(UPVER) \
+		--rename \
+		--destdir .
+	tar xvf node-bones_$(UPVER).orig.tar.gz
+	rm -rf package/assets/jquery.js
+	tar cf node-bones_$(UPVER)+ds1.orig.tar package/
+	gzip -9 node-bones_$(UPVER)+ds1.orig.tar
+	rm -rf package/ node-bones_$(UPVER).orig.tar.gz

-- 
framework for using backbone.js on client and server for NodeJS



More information about the Pkg-javascript-commits mailing list