X-Git-Url: https://git.openstreetmap.org/dns.git/blobdiff_plain/2c6ede3aa0c9acefab0ca350e2139823a83fecc4..9a2522ef11ee644bdf5a2a309aabd022afeb855f:/Makefile diff --git a/Makefile b/Makefile index d945c58..f8a6c3b 100644 --- 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' < $< > $@