]> 105106.c2e0p.group Git - postfix.git/blobdiff - Makefile
Fix Makefile and dovecot configuration errors.
[postfix.git] / Makefile
index 6e02f284589e80a3df906393c2ce3273e9d965eb..3e55dfab5a170c47ac0be9dccf3a5f716b0821a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,24 @@
-SRC := $(shell pwd)
 DST := /etc/postfix
 
 DST := /etc/postfix
 
-INPUTS := configuration/* configuration/mysql/*
+INPUTS := \
+       configuration/main.cf \
+       configuration/master.cf \
+       configuration/postgrey_whitelist_clients.local \
+       configuration/postgrey_whitelist_recipients \
+       configuration/rbl_override \
+       configuration/mysql/relay_domains.cf \
+       configuration/mysql/virtual_alias_maps.cf \
+       configuration/mysql/virtual_domains_maps.cf \
+       configuration/mysql/virtual_mailbox_limits.cf \
+       configuration/mysql/virtual_mailbox_maps.cf
 
 
-all: $(INPUTS:configuration/%=$(DST)/%) postfixadmin
+OUTPUTS := $(subst configuration/,$(DST)/,$(INPUTS))
+
+all: $(OUTPUTS) postfixadmin
 
 postfixadmin:
        ./setup-postfix.sh
 
 
 postfixadmin:
        ./setup-postfix.sh
 
-$(DST)/%: $(SRC)/%
+$(DST)/%: configuration/%
        @mkdir -p $(@D)
        cp $^ $@
        @mkdir -p $(@D)
        cp $^ $@