863f2bc9983c33221f5936421fc9c06caf21639aTimo SirainenSUBDIRS = conf.d
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen
7ca263a232b1d89630f9bfbb2f59b9f851414ac5Timo Sirainenpkgsysconfdir = $(sysconfdir)/dovecot
7ca263a232b1d89630f9bfbb2f59b9f851414ac5Timo Sirainennodist_pkgsysconf_DATA = README
30725e201c8af3d98ad40744d3f70d64c3d9a91cTimo Sirainen# nodist_ prefix just doesn't seem to work, so rm it directly:
30725e201c8af3d98ad40744d3f70d64c3d9a91cTimo Sirainendist-hook:
30725e201c8af3d98ad40744d3f70d64c3d9a91cTimo Sirainen rm -f $(distdir)/README
3d7873aacfd7cb3ee5f6f85429f140e0082da146Timo Sirainen
3d7873aacfd7cb3ee5f6f85429f140e0082da146Timo SirainenREADME: README.in Makefile
f077cab93ca8908ac84c76443d03a30678fdf6caPascal Volk cat $(srcdir)/README.in | sed "s|@exampledir@|$(exampledir)|" > README
3d7873aacfd7cb3ee5f6f85429f140e0082da146Timo Sirainen
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainenexampledir = $(docdir)/example-config
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainenexample_DATA = \
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen dovecot.conf \
c5c509ac296e4d13a90a68ab78061c758e20ef0dTimo Sirainen dovecot-dict-auth.conf.ext \
17a9d706b8968e1423df48996f842b89e67e1d15Timo Sirainen dovecot-dict-sql.conf.ext \
17a9d706b8968e1423df48996f842b89e67e1d15Timo Sirainen dovecot-ldap.conf.ext \
17a9d706b8968e1423df48996f842b89e67e1d15Timo Sirainen dovecot-sql.conf.ext
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen
863f2bc9983c33221f5936421fc9c06caf21639aTimo SirainenEXTRA_DIST = \
a3a72ef7a194d69dbf9035917a91bc3b11a0e90eTimo Sirainen $(example_DATA) \
a3a72ef7a194d69dbf9035917a91bc3b11a0e90eTimo Sirainen README.in
e80cf02ca291045e34f68e03fb7a3d59dc77d177Timo Sirainen
e80cf02ca291045e34f68e03fb7a3d59dc77d177Timo Siraineninstall-data-local:
7ca263a232b1d89630f9bfbb2f59b9f851414ac5Timo Sirainen $(mkdir_p) $(DESTDIR)/$(pkgsysconfdir)
60f7a299ec424dbdc60e6f726f277533410d1b44Timo Sirainen
60f7a299ec424dbdc60e6f726f277533410d1b44Timo SirainenCLEANFILES = README