From 1748d00f8c001c41b799635a03f77c2c7456ab25 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 17 Aug 2020 20:05:40 +0200 Subject: [PATCH] Fixup for dns/application: Add nsupdate.makefile for indempotent updates --- roles/dns/application/templates/nsupdate.makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/dns/application/templates/nsupdate.makefile diff --git a/roles/dns/application/templates/nsupdate.makefile b/roles/dns/application/templates/nsupdate.makefile new file mode 100644 index 0000000..cf00b27 --- /dev/null +++ b/roles/dns/application/templates/nsupdate.makefile @@ -0,0 +1,8 @@ +#targets := $(addsuffix ~DONE,$(wildcard *~update)) +# +#.PHONY: all +#all: $(targets) + +%~update~DONE: %~update + nsupdate -l "$<" + touch "$@"