X-Git-Url: http://id.pley.net/postfix.git/blobdiff_plain/31e372270f7e1eb7a6c16e0d803a06189b42fb9e..09fd1a8ed2f80a6d1349f83650c35dd0eef05c0d:/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 $@