Hi, I was trying to create complete rpm package for my system, containing dovecot 1.2.5 intregrated with dovecot-sieve and dovecot-managesieve. Finally I succeeded and it works great, but I found something that might be treated as wrong behaviour... 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) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) Best regards, -- Jacek Osiecki joshua at ceti.pl GG:3828944 I don't want something I need. I want something I want.
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091015/0fcb469a/attachment-0002.bin>