summaryrefslogtreecommitdiffstats
path: root/doc/example-config/Makefile.am
blob: 331d6e971eae6fad19728957ac2214ccf5712644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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-oauth2.conf.ext \
	dovecot-sql.conf.ext

EXTRA_DIST = \
	$(example_DATA) \
	README.in

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

CLEANFILES = README