X-Git-Url: http://id.pley.net/postfix.git/blobdiff_plain/c96080697a03bc4a268245725681ef6de6abe7a9..fdc598f0ef23202f882200d2d26a2826e509c932:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 6e02f28..7022fae 100644 --- 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 $@