X-Git-Url: http://id.pley.net/postfix.git/blobdiff_plain/31e372270f7e1eb7a6c16e0d803a06189b42fb9e..6e5d449e15a8544549b3d2c9b941f4e461f7e2e0:/Makefile diff --git a/Makefile b/Makefile index 840494b..6183414 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,7 @@ -SRC := $(shell pwd) -DST := /etc/postfix +SUBDIRS := postfix postfixadmin -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 $@