The following commit has been merged in the master branch:
commit 0414c90ed3d3e983cc86ea2e5c7a399ce9635e89
Author: David Paleino <da...@debian.org>
Date:   Tue Mar 16 10:38:54 2010 +0100

    Added get-orig-source

diff --git a/debian/rules b/debian/rules
index 6cf1c79..34e00e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@
 #                       -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline 
-DNDEBUG \
 #                       -Wno-missing-field-initializers
 
+REPO   := http://svn.mapnik.org/trunk/demo/viewer
+SVNREV := $(shell dpkg-parsechangelog | grep ^Version | cut -d- -f1 | awk 
-F"~svn" '{print $$2}' )
+
 override_dh_auto_install:
        install -D -T -m 755 viewer 
$(CURDIR)/debian/mapnik-viewer/usr/bin/mapnik-viewer
 
@@ -17,3 +20,9 @@ override_dh_auto_build:
 
 %:
        dh $@
+
+get-orig-source:
+       svn checkout -r $(SVNREV) $(REPO) mapnik-viewer-0.0~svn$(SVNREV)/
+       find mapnik-viewer-0.0~svn*/ -name ".svn" | xargs rm -vrf
+       tar zcf mapnik-viewer_0.0~svn$(SVNREV).orig.tar.gz 
mapnik-viewer-0.0~svn$(SVNREV)/
+       rm -vrf mapnik-viewer-0.0~svn$(SVNREV)/

-- 
mapnik-viewer

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

Reply via email to