DST := /etc/postfix

INPUTS := \
	main.cf \
	master.cf \
	postgrey_whitelist_clients.local \
	postgrey_whitelist_recipients \
	rbl_override \
	mysql/relay_domains.cf \
	mysql/virtual_alias_maps.cf \
	mysql/virtual_domains_maps.cf \
	mysql/virtual_mailbox_limits.cf \
	mysql/virtual_mailbox_maps.cf

OUTPUTS := $(INPUTS:%=$(DST)/%)

all: $(OUTPUTS)

$(DST)/%: %
	@mkdir -p $(@D)
	cp $^ $@