]> id.pley.net Git - postfix.git/blobdiff - postfix/Makefile
Reorganize files around subprojects.
[postfix.git] / postfix / Makefile
diff --git a/postfix/Makefile b/postfix/Makefile
new file mode 100644 (file)
index 0000000..fb35215
--- /dev/null
@@ -0,0 +1,21 @@
+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)/%: configuration/%
+       @mkdir -p $(@D)
+       cp $^ $@