dovecot-2.2: Makefile: Fixed dovecot-config installation

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:25 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/2f3c83f28dfe
changeset: 14283:2f3c83f28dfe
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 04 15:11:20 2012 +0200
description:
Makefile: Fixed dovecot-config installation

diffstat:

 Makefile.am |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r d4f40b5c080c -r 2f3c83f28dfe Makefile.am
--- a/Makefile.am	Sun Mar 04 14:33:00 2012 +0200
+++ b/Makefile.am	Sun Mar 04 15:11:20 2012 +0200
@@ -1,8 +1,5 @@
 aclocaldir = $(datadir)/aclocal
 
-# automake 1.11.2+ doesn't like allow using pkglib_DATA, but we really it.
-dovecotlibdir = $(libdir)/dovecot
-
 SUBDIRS = \
 	. \
 	src \
@@ -20,11 +17,7 @@
 	update-version.sh \
 	$(conf_DATA)
 
-datafiles = \
-	dovecot-config
-
 nodist_pkginclude_HEADERS = config.h
-dovecotlib_DATA = $(datafiles)
 
 if MAINTAINER_MODE
 ChangeLog: .hg/dirstate
@@ -64,7 +57,7 @@
 endif
 
 install-exec-hook:
-	rm $(DESTDIR)$(pkglibdir)/dovecot-config && \
+	$(MKDIR_P) $(DESTDIR)$(pkglibdir); \
 	grep -v '^LIBDOVECOT_.*_INCLUDE' dovecot-config | \
 	grep -v '^LIBDOVECOT.*_DEPS' | sed \
 	-e "s|^\(LIBDOVECOT\)=.*$$|\1='-L$(pkglibdir) -ldovecot'|" \


More information about the dovecot-cvs mailing list