2024-11-21 02:49:51 +01:00
|
|
|
tdir=$(DIR_DNSMANAGER)/templates/
|
2024-12-01 23:30:03 +01:00
|
|
|
a=netlib.re
|
|
|
|
b=codelib.re
|
2024-11-21 02:49:51 +01:00
|
|
|
build-template-zones:
|
|
|
|
[ ! -f $(tdir)$(a).json ] &&\
|
|
|
|
cd $(DIR_DNSMANAGER) &&\
|
|
|
|
make zone-basic-template-file DOMAIN=$(a) &&\
|
|
|
|
mv $(a).json templates/ || :
|
|
|
|
[ ! -f $(tdir)$(b).json ] &&\
|
|
|
|
cd $(DIR_DNSMANAGER) &&\
|
|
|
|
make zone-basic-template-file DOMAIN=$(b) &&\
|
|
|
|
mv $(b).json templates/ || :
|
|
|
|
|
|
|
|
run-dnsmanagerd: build-template-zones
|
|
|
|
cd $(DIR_DNSMANAGER) && make run-dnsmanagerd
|