]> 105106.c2e0p.group Git - postfix.git/blobdiff - Makefile
Add dovecot support
[postfix.git] / Makefile
index eec301fa33ff65a73205b9d65599b9d11c9b7ce3..7022faedfca0c3ee6d74abfc363bd69a0efdda1a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,7 @@
-SRC := $(shell pwd)
-DST := /etc/postfix
+SUBDIRS := postfix postfixadmin dovecot
 
-INPUTS := configuration/* configuration/mysql/*
+all: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
 
-all: $(INPUTS:configuration/%=$(DST)/%)
-
-$(DST)/%: $(SRC)/%
-       @mkdir -p $(@D)
-       cp $^ $@
+$(SUBDIRS):
+       $(MAKE) -C $@