|
|
@ -1,10 +1,13 @@ |
|
|
|
TEMPLATES=$(wildcard root/*/*.zone.in) |
|
|
|
ZONES=$(addprefix stage/,$(notdir $(basename $(TEMPLATES)))) |
|
|
|
|
|
|
|
.PHONY: all clean sync |
|
|
|
.PHONY: all clean sync push |
|
|
|
|
|
|
|
all: $(ZONES) |
|
|
|
|
|
|
|
push: all sync |
|
|
|
./update.sh |
|
|
|
|
|
|
|
clean: |
|
|
|
@for x in $(notdir $(wildcard stage/*.zone)); do \
|
|
|
|
ls -1 root/*/$$x.in > /dev/null 2>&1 || rm -v stage/$$x; \
|
|
|
|