[Pkg-cli-apps-commits] r3982 - /packages/nant/trunk/debian/rules

ctrlsoft-guest at users.alioth.debian.org ctrlsoft-guest at users.alioth.debian.org
Mon May 26 22:45:29 UTC 2008


Author: ctrlsoft-guest
Date: Mon May 26 22:45:29 2008
New Revision: 3982

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=3982
Log:
Add target for building orig source tarball without binary dlls.

Modified:
    packages/nant/trunk/debian/rules

Modified: packages/nant/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/nant/trunk/debian/rules?rev=3982&op=diff
==============================================================================
--- packages/nant/trunk/debian/rules (original)
+++ packages/nant/trunk/debian/rules Mon May 26 22:45:29 2008
@@ -14,8 +14,7 @@
 
 export MONO_SHARED_DIR=$(CURDIR)
 
-UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
-
+UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,' | sed 's/.dfsg.*$$//')
 
 CFLAGS = -Wall -g
 
@@ -44,6 +43,12 @@
 
 	touch configure-stamp
 
+get-orig-source:
+	uscan --upstream-version $(UPVERSION) --rename --force-download --download-version $(UPVERSION) --destdir .
+	tar xfz nant_$(UPVERSION).orig.tar.gz
+	rm -f nant_$(UPVERSION).orig.tar.gz
+	rm -rf nant-$(UPVERSION)/lib
+	tar cfz nant_$(UPVERSION).dfsg1.orig.tar.gz nant-$(UPVERSION) 
 
 build: build-stamp
 




More information about the Pkg-cli-apps-commits mailing list