X-Git-Url: http://id.pley.net/postfix.git/blobdiff_plain/31e372270f7e1eb7a6c16e0d803a06189b42fb9e..04cc8df19762366dfb7f00bfaade105520d45692:/Makefile diff --git a/Makefile b/Makefile index 840494b..7022fae 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,7 @@ -SRC := $(shell pwd) -DST := /etc/postfix +SUBDIRS := postfix postfixadmin dovecot -INPUTS := main.cf Makefile master.cf mysql/* postgrey_whitelist_clients.local postgrey_whitelist_recipients rbl_override +all: $(SUBDIRS) +.PHONY: $(SUBDIRS) -all: $(INPUTS:%=$(DST)/%) - -$(DST)/%: $(SRC)/% - @mkdir -p $(@D) - cp $^ $@ +$(SUBDIRS): + $(MAKE) -C $@