]> git.openstreetmap.org Git - dns.git/blob - Makefile
Remove jakelong and tuatara from DNS
[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_primary: update_cloudflare_primary update_geodns
9
10 update_cloudflare: sshfp gdns
11         dnscontrol push --providers cloudflare
12
13 update_cloudflare_primary: sshfp gdns
14         dnscontrol push --providers cloudflare --domains openstreetmap.org
15
16 update_geodns: gdns
17         parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}
18
19 sshfp:
20         bin/mksshfp
21
22 gdns: gdns_tile gdns_render gdns_nominatim
23
24 gdns_tile: lib/countries.xml origins/tile.openstreetmap.yml
25         bin/mkgeo origins/tile.openstreetmap.yml src/tile.openstreetmap.yml tile origins/render.openstreetmap.yml tile
26
27 gdns_render: lib/countries.xml origins/render.openstreetmap.yml
28         bin/mkgeo origins/render.openstreetmap.yml src/render.openstreetmap.yml render origins/tile-total.openstreetmap.yml
29
30 gdns_nominatim: lib/countries.xml origins/nominatim.openstreetmap.yml
31         bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap.yml nominatim origins/nominatim-total.openstreetmap.yml nominatim
32
33 clean:
34         rm -f includes/* json/* origins/* gdns/*
35
36 lib/countries.xml:
37         curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
38
39 origins/tile.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/tile.openstreetmap.yml
40         bin/mkcountries bandwidth/tile.openstreetmap.yml origins/tile.openstreetmap.yml
41
42 origins/render.openstreetmap.yml: gdns_tile
43
44 origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/nominatim.openstreetmap.yml
45         bin/mkcountries bandwidth/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml