|
|
|
@ -18,10 +18,15 @@ Q ?= @
|
|
|
|
|
####################
|
|
|
|
|
|
|
|
|
|
DOMAIN ?= example.com
|
|
|
|
|
zone-file:
|
|
|
|
|
crystal run ./tools/write-zone-file.cr -- $(DOMAIN)
|
|
|
|
|
zone-basic-template-file:
|
|
|
|
|
crystal run ./tools/write-template-zone-file.cr -- $(DOMAIN)
|
|
|
|
|
build-write-zone-file: tools/write-zone-file.cr
|
|
|
|
|
$(Q)-([ ! -f bin/write-zone-file ] || [ tools/write-zone-file.cr -nt bin/write-zone-file ]) && shards build write-zone-file
|
|
|
|
|
zone-file: build-write-zone-file
|
|
|
|
|
$(Q)./bin/write-zone-file $(DOMAIN)
|
|
|
|
|
|
|
|
|
|
build-write-template-zone-file: tools/write-template-zone-file.cr
|
|
|
|
|
$(Q)-([ ! -f bin/write-template-zone-file ] || [ tools/write-template-zone-file.cr -nt bin/write-template-zone-file ]) && shards build write-template-zone-file
|
|
|
|
|
zone-basic-template-file: build-write-template-zone-file
|
|
|
|
|
$(Q)./bin/write-template-zone-file $(DOMAIN)
|
|
|
|
|
|
|
|
|
|
VERBOSITY ?= 4
|
|
|
|
|
run-client-verbosity:
|
|
|
|
|