Don't delete old dependency file unless new one builds.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 29 Jul 2011 16:08:47 +0000 (17:08 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 29 Jul 2011 16:08:47 +0000 (17:08 +0100)
Makefile.am

index 8a0be7c..09cb806 100644 (file)
@@ -222,7 +222,6 @@ docs:
 depend: .depend
 
 .depend: $(wildcard *.mli) $(wildcard *.ml)
-       rm -f $@ $@-t
        $(OCAMLFIND) ocamldep $(OCAMLPACKAGES) $^ | \
          $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
          sort > $@-t