changeset 106013:f73265af0411

Ignore errors from mkdir when creating deps directory.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 14 Nov 2009 18:35:19 +0000
parents fae53e3bfda0
children 6706b5825a1f
files src/ChangeLog src/Makefile.in
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Nov 14 18:22:34 2009 +0000
+++ b/src/ChangeLog	Sat Nov 14 18:35:19 2009 +0000
@@ -1,3 +1,8 @@
+2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* Makefile.in: Ignore errors from mkdir when creating deps
+	directory.
+
 2009-11-14  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already
--- a/src/Makefile.in	Sat Nov 14 18:22:34 2009 +0000
+++ b/src/Makefile.in	Sat Nov 14 18:35:19 2009 +0000
@@ -267,12 +267,12 @@
 .SUFFIXES: .m
 .c.o:
 #ifdef AUTO_DEPEND
-	@test -d deps || mkdir deps
+	@-test -d deps || mkdir deps
 #endif
 	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
 .m.o:
 #ifdef AUTO_DEPEND
-	@test -d deps || mkdir deps
+	@-test -d deps || mkdir deps
 #endif
 	$(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<