view doc/example-config/Makefile.am @ 22959:99445a6b0bfd

dict-sql: dict doesn't support NULL values, so convert SQL NULLs to ""
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 06 Oct 2017 15:54:47 +0300
parents c60fd665e37c
children
line wrap: on
line source

SUBDIRS = conf.d

pkgsysconfdir = $(sysconfdir)/dovecot
nodist_pkgsysconf_DATA = README
# nodist_ prefix just doesn't seem to work, so rm it directly:
dist-hook:
	rm -f $(distdir)/README

README: README.in Makefile
	cat $(srcdir)/README.in | sed "s|@exampledir@|$(exampledir)|" > README

exampledir = $(docdir)/example-config
example_DATA = \
	dovecot.conf \
	dovecot-dict-auth.conf.ext \
	dovecot-dict-sql.conf.ext \
	dovecot-ldap.conf.ext \
	dovecot-sql.conf.ext

EXTRA_DIST = \
	$(example_DATA) \
	README.in

install-data-local:
	$(mkdir_p) $(DESTDIR)/$(pkgsysconfdir)

CLEANFILES = README