Use INSTALL_DATA instead of INSTALL to install dovecot.conf with 644 instead
of 755 file permission.
Signed-off-by: Xiao Pan <xyz@flylightning.xyz>
install-data-hook:
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/dovecot
test -e $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf || \
- $(INSTALL) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
+ $(INSTALL_DATA) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
install-data-local:
$(MKDIR_P) $(DESTDIR)$(docdir); \