You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
317 B
Makefile

dest:={{ zones_environment_link_name }}
dest_name:={{ zones_environment_database_name }}
zone_dirs:=$(wildcard *.*/)
zones:=$(zone_dirs:/=)
.PHONY: all
all: $(addprefix ${dest}/,$(addsuffix /${dest_name},${zones}))
${dest}/%/${dest_name}: %/*.db
cat $^ | sed '0,/^ 0$$/s// '"$$(($$(date +%s) / 60))"'/' > "$@";