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