On Tue, 2009-09-29 at 11:59 +0200, Jacek Osiecki wrote: > When you run ./configure --with-docs=no, Makefile does not build docs > anymore, but... installs them anyway :) It caused some troubles because > rpmbuild complained about documents moved to <buildroot>/usr/share/doc/dovecot > > I have created a small patch that fixes this - hope it doesn't introduce any > mess: > > diff -Nur 2/Makefile.in 1/Makefile.in > --- 2/Makefile.in 2009-09-29 00:17:22.000000000 +0200 > +++ 1/Makefile.in 2009-09-29 00:17:38.000000000 +0200 > @@ -75,7 +75,7 @@ > distclean-recursive maintainer-clean-recursive > ETAGS = etags > CTAGS = ctags > -DIST_SUBDIRS = src doc > +DIST_SUBDIRS = $(SUBDIRS)
Makefile.in changes aren't permanent. I guess you could have added the line to Makefile.am, but that anyway causes dovecot*example.conf files not to get installed. I added a patch now that makes .txt files not get installed, but I couldn't get it not to create the share/doc/ directory: http://hg.dovecot.org/dovecot-1.2/rev/5763caa55b57
signature.asc
Description: This is a digitally signed message part
