]> git.openstreetmap.org Git - dns.git/blobdiff - Makefile
Wrap some longitude coordinates to force them across the date line
[dns.git] / Makefile
index d945c5864a4db88f63c7cafa9e19aa3e90141c74..f8a6c3b206baa42fb19ce8a5a9f5ee25b30eaa82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,13 @@
 all: data/openstreetmap.org data/openstreetmap.com data/openstreetmap.net \
      data/openstreetmaps.org data/osm.org \
-     data/osmfoundation.org data/stateofthemap.org data/stateofthemap.com
+     data/osmfoundation.org data/stateofthemap.org data/stateofthemap.com \
+     data/tile.openstreetmap.org kml/tile.openstreetmap.org.kml
 
 clean:
-       rm data/*
+       rm lib/countries.xml data/*
+
+lib/countries.xml:
+       curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
 
 data/openstreetmap.org: src/openstreetmap
 data/openstreetmap.com: src/openstreetmap
@@ -14,5 +18,8 @@ data/osmfoundation.org: src/osmfoundation
 data/stateofthemap.org: src/stateofthemap
 data/stateofthemap.com: src/stateofthemap
 
+data/tile.openstreetmap.org kml/tile.openstreetmap.org: src/tile.openstreetmap bin/mkgeo lib/countries.xml
+       bin/mkgeo tile.openstreetmap tile.openstreetmap.org
+
 data/%:
        sed -e 's/$(notdir $<)/$(notdir $@)/g' < $< > $@