dns/master: zone.makefile: Changed usage of var dest

dehydrated
Felix Stupp 5 years ago
parent d052a08f0d
commit bb8a2759ec
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,18 +1,18 @@
dest:={{ domain_environment_link_name }} dest:={{ domain_environment_link_name }}
db_files:=$(wildcard *.db) db_files:=$(wildcard *.db)
db_file:=${dest}/{{ database_file_name }} db_file:={{ database_file_name }}
signed_file:=${dest}/{{ database_signed_file_name }} signed_file:={{ database_signed_file_name }}
all:: ${signed_file} all:: ${dest}/${signed_file}
${db_file}.unchecked: ${db_files} ${dest}/${db_file}.unchecked: ${db_files}
cat $^ > "$@"; cat $^ > "$@";
${db_file}: ${db_file}.unchecked ${dest}/${db_file}: ${dest}/${db_file}.unchecked
named-compilezone -o "$@" {{ domain | quote }} "$<"; named-compilezone -o "$@" {{ domain | quote }} "$<";
${signed_file}: ${db_file} ${dest}/${signed_file}: ${dest}/${db_file}
dnssec-signzone \ dnssec-signzone \
-3 $$(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) \ -3 $$(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) \
-a \ -a \

Loading…
Cancel
Save