The following commit has been merged in the master branch:
commit 349e3a375741978f5fe90aba2177db23c12efbef
Author: Ansgar Burchardt <ans...@43-1.org>
Date:   Sun Oct 18 14:52:51 2009 +0900

    Add get-orig-source target
    
    Add get-orig-source target to debian/rules.
    
    Signed-off-by: Ansgar Burchardt <ans...@43-1.org>

diff --git a/debian/rules b/debian/rules
index 6645865..27fb177 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,3 +64,12 @@ binary-arch: build install
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure
 
+# SVN revision and package version to use when building .orig.tar.gz
+SVNREV  = 2786
+VERSION = 102.2+svn2786
+SVNROOT = svn://tron.homeunix.org/simutrans/simutrans
+
+get-orig-source:
+       svn export --username anon --password "" -r $(SVNREV) $(SVNROOT)/trunk 
simutrans-$(VERSION)
+       tar c simutrans-$(VERSION) | gzip -9 >simutrans_$(VERSION).orig.tar.gz
+       $(RM) -r simutrans-$(VERSION)

-- 
transportation simulator

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to