[openstreetmap-map-icons] 03/87: Add get-orig-source target. Remove some cruft.

Bas Couwenberg sebastic at xs4all.nl
Sat Oct 18 14:07:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository openstreetmap-map-icons.

commit 0bcb924217448ceb6bf994b68884b849c1c1aec0
Author: Andreas Putzo <andreas at putzo.net>
Date:   Sun Jul 6 21:44:18 2008 +0000

    Add get-orig-source target.
    Remove some cruft.
---
 debian/changelog |  4 ++--
 debian/rules     | 26 +++++++++++++++++++++++---
 2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8bcecf4..3068501 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-osm-map-icons (0.0.0.20080705-1) unstable; urgency=low
+osm-map-icons (0.0.0.20080706-1) unstable; urgency=low
 
   * Initial Release. (Closes: #439676)
 
- -- Andreas Putzo <andreas at putzo.net>  Sun, 06 Jul 2008 12:48:46 +0000
+ -- Andreas Putzo <andreas at putzo.net>  Sun, 06 Jul 2008 21:38:32 +0000
diff --git a/debian/rules b/debian/rules
index 41ac5ef..00db3ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,9 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-DESTDIR := $(CURDIR)/debian/tmp
+SVNREPO := http://svn.openstreetmap.org/applications/share/map-icons
+SVNREV := 8426
+DATE := $(shell date +%Y%m%d)
 
 build: build-arch build-indep
 
@@ -41,7 +43,6 @@ install-indep:
 	find $(CURDIR)/debian/osm-map-icons-scalable/usr/share/icons/map-icons/ -type f |xargs chmod 644
 	find $(CURDIR)/debian/osm-map-icons-square/usr/share/icons/map-icons/ -type f | xargs chmod 644
 
-
 install-arch:
 
 binary-common:
@@ -64,4 +65,23 @@ binary-indep: build-indep install-indep
 binary-arch: build-arch install-arch
 
 binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch #PHONY_CONFIGURE#
+
+get-orig-source:
+	dh_testdir
+	test -d ../tarballs/. || mkdir -p ../tarballs
+	@echo Downloading osm-map-icons from $(SVNREPO)
+	svn -r $(SVNREV) export $(SVNREPO) ../tarballs/osm-map-icons-0.0.0.$(DATE)
+	@echo Removing directories: debian nickw japan
+	rm -rf ../tarballs/osm-map-icons-0.0.0.$(DATE)/debian
+	rm -rf ../tarballs/osm-map-icons-0.0.0.$(DATE)/nickw
+	rm -rf ../tarballs/osm-map-icons-0.0.0.$(DATE)/japan
+	@echo Building snapshot tarball
+	tar czf ../tarballs/osm-map-icons_0.0.0.$(DATE).orig.tar.gz -C ../tarballs osm-map-icons-0.0.0.$(DATE)
+	@echo Cleaning up
+	rm -rf ../tarballs/osm-map-icons-0.0.0.$(DATE)
+	@echo .
+	@echo To update debian/changelog type
+	@echo dch -v 0.0.0.$(DATE)-1
+	@echo .
+
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openstreetmap-map-icons.git



More information about the Pkg-grass-devel mailing list