[openstreetmap-map-icons] 16/87: Docs and examples generation updated

Bas Couwenberg sebastic at xs4all.nl
Sat Oct 18 14:07:34 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 477ed3e4d0f610a06a191d1364341d286d141d8c
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date:   Sat Nov 7 10:08:33 2009 +0000

    Docs and examples generation updated
---
 debian/docs     |  2 --
 debian/examples |  9 ++++-----
 debian/rules    | 13 +++++++------
 3 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/debian/docs b/debian/docs
index 8675d03..c0681c7 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,4 +1,2 @@
 README
 README.icons
-overview.de.html
-overview.en.html
diff --git a/debian/examples b/debian/examples
index b6d9794..ba9268e 100644
--- a/debian/examples
+++ b/debian/examples
@@ -1,6 +1,5 @@
-create_osm.sh
-create_osm.xslt
-create_overview.pl
+create_icons_index.pl
+*.html
+icons.dtd
 icons.xml
-update_thumbnails.pl
-merge-icons-all-from-svg2classic2square.sh
+geoinfo.db
diff --git a/debian/rules b/debian/rules
index 1958a76..e028f2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,12 +37,10 @@ install-indep:
 	dh_clean -k -i
 	dh_installdirs -i
 	dh_install -i
-	find $(CURDIR)/debian/openstreetmap-map-icons-classic/usr/share/icons/openstreetmap/ -type d -empty -delete
-	find $(CURDIR)/debian/openstreetmap-map-icons-scalable/usr/share/icons/openstreetmap/ -type d -empty -delete
-	find $(CURDIR)/debian/openstreetmap-map-icons-square/usr/share/icons/openstreetmap/ -type d -empty -delete
-	find $(CURDIR)/debian/openstreetmap-map-icons-classic/usr/share/icons/openstreetmap/ -type f | xargs chmod 644
-	find $(CURDIR)/debian/openstreetmap-map-icons-scalable/usr/share/icons/openstreetmap/ -type f |xargs chmod 644
-	find $(CURDIR)/debian/openstreetmap-map-icons-square/usr/share/icons/openstreetmap/ -type f | xargs chmod 644
+	for i in classic scalable square ; do \
+		find $(CURDIR)/debian/openstreetmap-map-icons-$$i/usr/share/icons/openstreetmap/ -type d -empty -delete ; \
+		find $(CURDIR)/debian/openstreetmap-map-icons-$$i/usr/share/icons/openstreetmap/ -type f | xargs chmod 644 ; \
+	done
 
 install-arch:
 
@@ -52,6 +50,9 @@ binary-common:
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
+	for i in classic.small classic.big square.small square.big scalable ; do \
+		dh_link usr/share/icons/openstreetmap/$$i usr/share/doc/openstreetmap-map-icons-classic/examples/$$i ; \
+	done
 	dh_compress
 	dh_fixperms 
 	dh_installdeb

-- 
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