[dovecot-cvs] dovecot/src/plugins/trash Makefile.am,1.3,1.3.2.1

cras at dovecot.org cras at dovecot.org
Sat Jun 17 21:03:46 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/trash
In directory talvi:/tmp/cvs-serv13082/trash

Modified Files:
      Tag: branch_1_0
	Makefile.am 
Log Message:
mkdir_p doesn't accept multiple directories in some systems, so do it one at
a time. This also cleans up the code.



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/trash/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- Makefile.am	14 Dec 2005 21:50:57 -0000	1.3
+++ Makefile.am	17 Jun 2006 18:03:42 -0000	1.3.2.1
@@ -16,8 +16,8 @@
 	trash-plugin.h
 
 install-exec-local:
-	$(mkdir_p) $(DESTDIR)$(moduledir)/imap $(DESTDIR)$(moduledir)/lda
 	for d in imap lda; do \
+	  $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
 	  rm -f $(DESTDIR)$(moduledir)/$$d/lib02_trash_plugin.so; \
 	  $(LN_S) ../lib02_trash_plugin.so $(DESTDIR)$(moduledir)/$$d; \
 	done



More information about the dovecot-cvs mailing list