18 lines
305 B
Makefile
18 lines
305 B
Makefile
check: $(patsubst %.zone,%.check,$(wildcard *.zone))
|
|
|
|
%.check: %.zone FORCE
|
|
ldns-read-zone $<
|
|
|
|
sign: $(patsubst %,%.sig,$(wildcard *.zone))
|
|
|
|
%.sig: %
|
|
gpg -o $@ --detach-sign $<
|
|
|
|
upload:
|
|
printf 'put %s\n' *.zone *.sig | sftp dns.parabox.it-syndikat.org:zones/
|
|
|
|
clean:
|
|
rm -f *.sig
|
|
|
|
FORCE:
|
|
.PHONY: FORCE
|