X-Git-Url: https://git.openstreetmap.org/dns.git/blobdiff_plain/9d0eb6122d00782812ec7d4f0926007f5ac5c6ec..8b7c106a9339cb0828488ff3b75185b1e8ac7987:/Makefile 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' < $< > $@