X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/95be9173dd5179ef6d5493660691338a0393eed8..bdce6484fe7ae280ce44e75a95baf6fa4bbff336:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 1026829..89b17a0 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,16 @@ all: data/openstreetmap.org data/openstreetmap.com data/openstreetmap.net \ data/openstreetmaps.org data/osm.org data/openmaps.org \ data/osmfoundation.org data/stateofthemap.org data/stateofthemap.com \ - data/tile.openstreetmap.org kml/tile.openstreetmap.org.kml + data/opengeodata.org \ + data/switch2osm.org data/switch2osm.com \ + data/tile.openstreetmap.org clean: rm lib/countries.xml data/* +update: all + bin/update + lib/countries.xml: curl -s -o $@ http://api.geonames.org/countryInfo?username=demo @@ -18,9 +23,12 @@ data/openmaps.org: src/openstreetmap data/osmfoundation.org: src/osmfoundation data/stateofthemap.org: src/stateofthemap data/stateofthemap.com: src/stateofthemap +data/opengeodata.org: src/opengeodata +data/switch2osm.org: src/switch2osm +data/switch2osm.com: src/switch2osm -data/tile.openstreetmap.org kml/tile.openstreetmap.org: src/tile.openstreetmap bin/mkgeo lib/countries.xml +data/tile.openstreetmap.org kml/tile.openstreetmap.org.kml: src/tile.openstreetmap bin/mkgeo lib/countries.xml bin/mkgeo tile.openstreetmap tile.openstreetmap.org data/%: - sed -e 's/$(notdir $<)/$(notdir $@)/g' < $< > $@ + sed -e 's/$(notdir $<):/$(notdir $@):/g' < $< > $@