Browse Source

Makefile: introduced `make push`

testing
Alejandro Mery 14 years ago
parent
commit
ec1acb9934
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      Makefile

+ 4
- 1
Makefile

@ -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; \

Loading…
Cancel
Save