]> git.sur5r.net Git - openldap/commitdiff
Protect against failed commands in Makefile.in
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 6 Apr 1999 01:00:31 +0000 (01:00 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 6 Apr 1999 01:00:31 +0000 (01:00 +0000)
tests/Makefile.in

index 0bd9bc87832ad7fd5d59f95ff98c75ad85489349..297eca982c87ba2278069e99fd6a0be4db2e8dc0 100644 (file)
@@ -10,7 +10,7 @@ test-bdb2:    FORCE
        @-$(LN_S) $(srcdir)/data . 
        @if test "$(BUILD_BDB2)" = "yes" ; then \
                echo "Initiating LDAP tests..." ; \
-               $(MKDIR) test-db test-repl ; \
+               $(MKDIR) test-db test-repl || true; \
                $(srcdir)/scripts/all $(srcdir) bdb2 ; \
        else \
                echo "run configure with --enable-bdb2" ; \
@@ -20,12 +20,12 @@ tests:              test-ldbm
 test:          test-ldbm
 test-ldbm:     FORCE
        @-$(LN_S) $(srcdir)/data .
-       @echo "Initiating LDAP tests..."; \
-       $(MKDIR) test-db test-repl ; \
-       $(srcdir)/scripts/all $(srcdir) ldbm
+       @echo "Initiating LDAP tests..."
+       @-$(MKDIR) test-db test-repl || true
+       @$(srcdir)/scripts/all $(srcdir) ldbm
 
 clean-local:   FORCE
-       $(RM) test-db/[!C]* test-repl/[!C]* *core
+       -$(RM) test-db/[!C]* test-repl/[!C]* *core
 
 veryclean-local: FORCE
        @-$(RM) data