Make .depend file stable (this time for OCaml 4.00.0).
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 20 Jul 2012 08:42:33 +0000 (09:42 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 20 Jul 2012 08:44:24 +0000 (09:44 +0100)
Makefile.am

index 53cb691..c1dd141 100644 (file)
@@ -247,6 +247,7 @@ depend: .depend
 .depend: $(wildcard *.mli) $(wildcard *.ml)
        $(OCAMLFIND) ocamldep $(OCAMLPACKAGES) $^ | \
          $(SED) -e 's/ *$$//' | \
+         $(SED) -e 's/[ \t]:/:/' | \
          $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
          LANG=C sort > $@-t
        mv $@-t $@