]> 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 495f5872c6b5e603b2c6d4bea831de2c1d9988bd..e57b6d1fec113647edb8e4021ee243c1b1e28e9b 100644 (file)
@@ -4,8 +4,13 @@ INPUTS := dovecot-sql.conf.ext local.conf
 
 OUTPUTS := $(INPUTS:%=$(DST)/%)
 
-all: $(OUTPUTS)
+all: $(OUTPUTS) setup
+
+.PHONY: setup
 
 $(DST)/%: %
        @mkdir -p $(@D)
        cp $^ $@
+
+setup:
+       @./setup-dovecot.sh