-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
39 lines (25 loc) · 1.09 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
preview: check preview_dnscontrol
preview_dnscontrol: check_dnscontrol sshfp gdns
dnscontrol preview
check: check_dnscontrol
check_dnscontrol: sshfp gdns
dnscontrol check
update: update_dnscontrol update_geodns
update_primary: update_dnscontrol_primary update_geodns
update_dnscontrol: sshfp gdns
dnscontrol push
update_dnscontrol_primary: sshfp gdns
dnscontrol push --domains openstreetmap.org
update_geodns: gdns
parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}
sshfp:
bin/mksshfp
gdns: gdns_nominatim
gdns_nominatim: lib/countries.xml origins/nominatim.openstreetmap.yml
bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap.yml nominatim origins/nominatim-total.openstreetmap.yml nominatim
clean:
rm -f includes/* json/* origins/* gdns/*
lib/countries.xml:
curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml requests/nominatim.openstreetmap.yml
bin/mkcountries requests/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml