X-Git-Url: http://id.pley.net/postfix.git/blobdiff_plain/27d80ae381d8a0c69c8c50037e5ed236785704e9..04cc8df19762366dfb7f00bfaade105520d45692:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index eec301f..7022fae 100644 --- 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 $@