]> git.openstreetmap.org Git - dns.git/blobdiff - Makefile
Merge pull request #22 from jbelien/patch-1
[dns.git] / Makefile
index 03288666560bb483b7830901480e2f1a511a2ff9..247eec2d88c3150e570beb765798c08407494c81 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,22 @@
-preview: preview_cloudflare
+preview: check preview_dnscontrol
 
-preview_cloudflare: sshfp gdns
-       dnscontrol preview
+preview_dnscontrol: check_dnscontrol sshfp gdns
+       dnscontrol --diff2 preview
 
-update: update_cloudflare update_geodns
+check: check_dnscontrol
 
-update_primary: update_cloudflare_primary update_geodns
+check_dnscontrol: sshfp gdns
+       dnscontrol --diff2 check
 
-update_cloudflare: sshfp gdns
-       dnscontrol push --providers cloudflare
+update: update_dnscontrol update_geodns
 
-update_cloudflare_primary: sshfp gdns
-       dnscontrol push --providers cloudflare --domains openstreetmap.org
+update_primary: update_dnscontrol_primary update_geodns
+
+update_dnscontrol: sshfp gdns
+       dnscontrol --diff2 push
+
+update_dnscontrol_primary: sshfp gdns
+       dnscontrol --diff2 push --domains openstreetmap.org
 
 update_geodns: gdns
        parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS}
@@ -30,5 +35,5 @@ clean:
 lib/countries.xml:
        curl -s -o $@ http://api.geonames.org/countryInfo?username=demo
 
-origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/nominatim.openstreetmap.yml
-       bin/mkcountries bandwidth/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml
+origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml requests/nominatim.openstreetmap.yml
+       bin/mkcountries requests/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml