]> git.openstreetmap.org Git - dns.git/blob - Makefile
Revert "Take stormfly-04 out of service"
[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_nominatim
23
24 gdns_nominatim: lib/countries.xml origins/nominatim.openstreetmap.yml
25         bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap.yml nominatim origins/nominatim-total.openstreetmap.yml nominatim
26
27 clean:
28         rm -f includes/* json/* origins/* gdns/*
29
30 lib/countries.xml:
31         curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
32
33 origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml requests/nominatim.openstreetmap.yml
34         bin/mkcountries requests/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml