]> 105106.c2e0p.group Git - postfix.git/blobdiff - Makefile
Add a setup step to Dovecot which grants permission to the postfix database to the...
[postfix.git] / Makefile
index 6e02f284589e80a3df906393c2ce3273e9d965eb..7022faedfca0c3ee6d74abfc363bd69a0efdda1a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,7 @@
-SRC := $(shell pwd)
-DST := /etc/postfix
+SUBDIRS := postfix postfixadmin dovecot
 
-INPUTS := configuration/* configuration/mysql/*
+all: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
 
-all: $(INPUTS:configuration/%=$(DST)/%) postfixadmin
-
-postfixadmin:
-       ./setup-postfix.sh
-
-$(DST)/%: $(SRC)/%
-       @mkdir -p $(@D)
-       cp $^ $@
+$(SUBDIRS):
+       $(MAKE) -C $@