[Pkg-osm-commits] [SCM] monav branch, master, updated. upstream/0.0.svn217-19-gbe4d2b6
David Paleino
dapal at debian.org
Mon Jan 3 17:11:54 UTC 2011
The following commit has been merged in the master branch:
commit 92ab6953f2ee429ed95a8f500fc82350e2ffd27f
Author: David Paleino <dapal at debian.org>
Date: Mon Jan 3 12:57:57 2011 +0100
Add get-orig-source target
diff --git a/debian/rules b/debian/rules
index 9719c21..113813b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+CURVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1)
+SVNREPO := https://monav.googlecode.com/svn/tags/release-$(CURVER)
+
configure:
qmake monavclient.pro -o Makefile.client
qmake monavpreprocessor.pro -o Makefile.preprocessor
@@ -35,3 +38,9 @@ override_dh_auto_clean: configure
%:
dh $@
+
+get-orig-source:
+ svn export $(SVNREPO) monav-$(CURVER)
+ tar cf monav_$(CURVER).orig.tar monav-$(CURVER)/
+ gzip -9 monav_$(CURVER).orig.tar
+ rm -rf monav-$(CURVER)/
--
fast navigation system featuring exact routing
More information about the Pkg-osm-commits
mailing list