]> id.pley.net Git - postfix.git/blobdiff - dovecot/Makefile
Add a setup step to Dovecot which grants permission to the postfix database to the...
[postfix.git] / dovecot / Makefile
index ba757e7d70ba6812a3d034cf6432bcf46dce46db..e57b6d1fec113647edb8e4021ee243c1b1e28e9b 100644 (file)
@@ -4,8 +4,13 @@ INPUTS := dovecot-sql.conf.ext local.conf
 
 OUTPUTS := $(INPUTS:%=$(DST)/%)
 
 
 OUTPUTS := $(INPUTS:%=$(DST)/%)
 
-all: $(OUTPUTS)
+all: $(OUTPUTS) setup
 
 
-$(DST)/%: configuration/%
+.PHONY: setup
+
+$(DST)/%: %
        @mkdir -p $(@D)
        cp $^ $@
        @mkdir -p $(@D)
        cp $^ $@
+
+setup:
+       @./setup-dovecot.sh