From: Richard W.M. Jones Date: Fri, 20 Jul 2012 08:42:33 +0000 (+0100) Subject: Make .depend file stable (this time for OCaml 4.00.0). X-Git-Tag: 0.2.2~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=43c88e258fcbf22e1c0b2bdb15f6b0ba9f681548;p=guestfs-browser.git Make .depend file stable (this time for OCaml 4.00.0). --- diff --git a/Makefile.am b/Makefile.am index 53cb691..c1dd141 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 $@