Author: pere
Date: 2008-05-10 17:41:26 +0000 (Sat, 10 May 2008)
New Revision: 1574

Modified:
   packages/gosmore/trunk/debian/changelog
   packages/gosmore/trunk/debian/rules
Log:
  * Add get-orig-source target to the rules file.

Modified: packages/gosmore/trunk/debian/changelog
===================================================================
--- packages/gosmore/trunk/debian/changelog     2008-05-10 16:33:33 UTC (rev 
1573)
+++ packages/gosmore/trunk/debian/changelog     2008-05-10 17:41:26 UTC (rev 
1574)
@@ -1,6 +1,7 @@
 gosmore (0.0.0.20070901-4) UNRELEASED; urgency=low
 
   * Add josm as suggests.
+  * Add get-orig-source target to the rules file.
 
  -- Petter Reinholdtsen <[EMAIL PROTECTED]>  Sat, 29 Mar 2008 13:50:08 +0100
 

Modified: packages/gosmore/trunk/debian/rules
===================================================================
--- packages/gosmore/trunk/debian/rules 2008-05-10 16:33:33 UTC (rev 1573)
+++ packages/gosmore/trunk/debian/rules 2008-05-10 17:41:26 UTC (rev 1574)
@@ -8,3 +8,20 @@
 
 # Enable route finding
 CFLAGS := -DROUTE_TEST
+
+SVNREPO := http://svn.openstreetmap.org/applications/rendering/gosmore
+DATE := $(shell date +%Y%m%d)
+
+get-orig-source:
+       dh_testdir
+       test -d ../tarballs/. || mkdir -p ../tarballs
+       @echo Downloading gosmore from ${SVNREPO}
+       svn export ${SVNREPO} ../tarballs/gosmore-0.0.0.${DATE}
+       @echo Building snapshot tarball
+       tar czf ../tarballs/gosmore_0.0.0.${DATE}.orig.tar.gz -C ../tarballs 
gosmore-0.0.0.${DATE}
+       @echo Cleaning up
+       rm -rf ../tarballs/gosmore-0.0.0.${DATE}
+       @echo .
+       @echo To update debian/changelog type
+       @echo dch -v 0.0.0.${DATE}-1
+       @echo .


_______________________________________________
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