Avoid the message `make: [.deps/.P] Error 1 (ignored)'
authorAlexandre Oliva <oliva@samba.org>
Sun, 4 Oct 1998 20:54:05 +0000 (20:54 +0000)
committerAlexandre Oliva <oliva@samba.org>
Sun, 4 Oct 1998 20:54:05 +0000 (20:54 +0000)
(This used to be commit 9ba19d19ad348bc3be2fc9a2b7ac35b895c0d143)

source3/Makefile.in

index 07ee5920da579e32d32db52181fb7606d5ad294a..b4ed4f1a85bdb5be2a68d5d905efdcb097c45ead 100644 (file)
@@ -457,13 +457,13 @@ $(srcdir)/include/stamp-h.in: @MAINT@ $(srcdir)/acconfig.h $(srcdir)/configure.i
 
 # automatic dependency tracking rules
 .deps/.dummy:
-       @-if test ! -d .deps; then rm -rf .deps; mkdir .deps; fi
+       @-if test ! -d .deps; then mkdir .deps || true; else true; fi
        @: >$@
 
 .deps/.stamp: .deps/.dummy
        @:
 
 .deps/.P: .deps/.stamp
-       @-cat .deps/*.P >$@ 2>/dev/null
+       @cat .deps/*.P >$@ 2>/dev/null || true
 
 @MAINT@-include .deps/.P