[Pkg-mono-svn-commits] rev 3817 - mono-tools/trunk/debian

David Paleino hanska-guest at alioth.debian.org
Sun Nov 23 22:05:31 UTC 2008


Author: hanska-guest
Date: 2008-11-23 22:05:30 +0000 (Sun, 23 Nov 2008)
New Revision: 3817

Modified:
   mono-tools/trunk/debian/changelog
   mono-tools/trunk/debian/rules
Log:
* Group Policy:
  + implemented get-orig-source in debian/rules

Modified: mono-tools/trunk/debian/changelog
===================================================================
--- mono-tools/trunk/debian/changelog	2008-11-23 22:03:23 UTC (rev 3816)
+++ mono-tools/trunk/debian/changelog	2008-11-23 22:05:30 UTC (rev 3817)
@@ -1,8 +1,10 @@
 mono-tools (2.0-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * Group Policy:
+    + implemented get-orig-source in debian/rules
 
- -- David Paleino <d.paleino at gmail.com>  Sun, 23 Nov 2008 23:02:17 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sun, 23 Nov 2008 23:05:13 +0100
 
 mono-tools (1.9-2) unstable; urgency=medium
 

Modified: mono-tools/trunk/debian/rules
===================================================================
--- mono-tools/trunk/debian/rules	2008-11-23 22:03:23 UTC (rev 3816)
+++ mono-tools/trunk/debian/rules	2008-11-23 22:05:30 UTC (rev 3817)
@@ -2,6 +2,7 @@
 
 #export DH_VERBOSE=1
 export MONO_SHARED_DIR=$(CURDIR)
+CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1)
 
 include /usr/share/dpatch/dpatch.make
 
@@ -55,4 +56,14 @@
 binary-arch:
 
 binary: binary-indep
+
+get-orig-source:
+	[ -d ../tarballs ] || mkdir ../tarballs
+	uscan \
+		--force-download \
+		--download-version $(CURVER) \
+		--repack \
+		--rename \
+		--destdir ../tarballs
+
 .PHONY: build clean clean-patched binary-indep binary install




More information about the Pkg-mono-svn-commits mailing list