Author: nd-guest Date: 2008-07-06 21:44:18 +0000 (Sun, 06 Jul 2008) New Revision: 1699
Modified: packages/osm-map-icons/trunk/debian/changelog packages/osm-map-icons/trunk/debian/rules Log: Add get-orig-source target. Remove some cruft. Modified: packages/osm-map-icons/trunk/debian/changelog =================================================================== --- packages/osm-map-icons/trunk/debian/changelog 2008-07-06 21:26:00 UTC (rev 1698) +++ packages/osm-map-icons/trunk/debian/changelog 2008-07-06 21:44:18 UTC (rev 1699) @@ -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 <[EMAIL PROTECTED]> Sun, 06 Jul 2008 12:48:46 +0000 + -- Andreas Putzo <[EMAIL PROTECTED]> Sun, 06 Jul 2008 21:38:32 +0000 Modified: packages/osm-map-icons/trunk/debian/rules =================================================================== --- packages/osm-map-icons/trunk/debian/rules 2008-07-06 21:26:00 UTC (rev 1698) +++ packages/osm-map-icons/trunk/debian/rules 2008-07-06 21:44:18 UTC (rev 1699) @@ -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 @@ 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-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 _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel