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 = \
EXTRA_DIST = \
$(example_DATA) \
install-data-local:
$(mkdir_p) $(DESTDIR)/$(pkgsysconfdir)
CLEANFILES = README