]> git.openstreetmap.org Git - dns.git/blob - Makefile
Add lambton to tile CDN
[dns.git] / Makefile
1 preview: preview_cloudflare
2
3 preview_cloudflare: sshfp gdns
4         dnscontrol preview
5
6 update: update_cloudflare update_geodns
7
8 update_cloudflare: sshfp gdns
9         dnscontrol push --providers cloudflare
10
11 update_geodns: gdns
12         parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}
13
14 sshfp:
15         bin/mksshfp
16
17 gdns: gdns_tile gdns_render gdns_nominatim
18
19 gdns_tile: lib/countries.xml origins/tile.openstreetmap.yml
20         bin/mkgeo origins/tile.openstreetmap.yml src/tile.openstreetmap.yml tile origins/render.openstreetmap.yml tile
21
22 gdns_render: lib/countries.xml origins/render.openstreetmap.yml
23         bin/mkgeo origins/render.openstreetmap.yml src/render.openstreetmap.yml render origins/tile-total.openstreetmap.yml
24
25 gdns_nominatim: lib/countries.xml origins/nominatim.openstreetmap.yml
26         bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap.yml nominatim origins/nominatim-total.openstreetmap.yml nominatim
27
28 clean:
29         rm -f includes/* json/* origins/* gdns/*
30
31 lib/countries.xml:
32         curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
33
34 origins/tile.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/tile.openstreetmap.yml
35         bin/mkcountries bandwidth/tile.openstreetmap.yml origins/tile.openstreetmap.yml
36
37 origins/render.openstreetmap.yml: gdns_tile
38
39 origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/nominatim.openstreetmap.yml
40         bin/mkcountries bandwidth/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml