]> id.pley.net Git - postfix.git/blobdiff - Makefile
Reorganize files around subprojects.
[postfix.git] / Makefile
index eec301fa33ff65a73205b9d65599b9d11c9b7ce3..6183414beeeb5231550a3fc5c2c12b7ae052aec2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,7 @@
-SRC := $(shell pwd)
-DST := /etc/postfix
+SUBDIRS := postfix postfixadmin 
 
-INPUTS := configuration/* configuration/mysql/*
+all: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
 
-all: $(INPUTS:configuration/%=$(DST)/%)
-
-$(DST)/%: $(SRC)/%
-       @mkdir -p $(@D)
-       cp $^ $@
+$(SUBDIRS):
+       $(MAKE) -C $@