$(OCAMLDEP) *.ml *.mli > .depend
install::
-- if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi
+- if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi
- cp libcamldbm.$(A) $(LIBDIR)/
- cd $(LIBDIR) && ranlib libcamldbm.$(A)
- cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/
- cp dbm.$(A) $(LIBDIR)/
- cd $(LIBDIR) && ranlib dbm.$(A)
- if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi
-+ if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi
++ if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi
+ cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
+ cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A)
+ cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/