[dovecot-cvs] dovecot/src/plugins/quota Makefile.am,1.7,1.8

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


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv17727/quota

Modified Files:
	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/quota/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am	16 Jun 2006 09:40:40 -0000	1.7
+++ Makefile.am	17 Jun 2006 18:03:51 -0000	1.8
@@ -28,10 +28,8 @@
 	quota-private.h
 
 install-exec-local:
-	$(mkdir_p) $(DESTDIR)$(moduledir)/imap \
-	  $(DESTDIR)$(moduledir)/pop3 \
-	  $(DESTDIR)$(moduledir)/lda
 	for d in imap pop3 lda; do \
+	  $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
 	  rm -f $(DESTDIR)$(moduledir)/$$d/lib01_quota_plugin.so; \
 	  $(LN_S) ../lib01_quota_plugin.so $(DESTDIR)$(moduledir)/$$d; \
 	done



More information about the dovecot-cvs mailing list