makefiles/dnsmanagerd.mk

16 lines
440 B
Makefile
Raw Normal View History

tdir=$(DIR_DNSMANAGER)/templates/
2024-12-01 23:30:03 +01:00
a=netlib.re
b=codelib.re
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