[Dovecot] Error (IMHO) with --with-doc option

Jacek Osiecki joshua at hybrid.pl
Tue Sep 29 12:59:17 EEST 2009


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.


More information about the dovecot mailing list