From: Richard W.M. Jones Date: Wed, 30 Nov 2011 17:08:27 +0000 (+0000) Subject: ocaml: Fix OCaml dependencies. X-Git-Tag: 1.14.5~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ab121fb2e2c58fa340757f8be888d01a053a4d1c;p=libguestfs.git ocaml: Fix OCaml dependencies. (cherry picked from commit ce331df0f1857bccebaaddfac79677bc9f527197) --- diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 5287035..95185ef 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -139,9 +139,9 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f $@ $@-t $(OCAMLFIND) ocamldep $^ | \ - $(SED) 's/ *$$//' | \ + $(SED) -e 's/ *$$//' | \ $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ - sort > $@-t + LANG=C sort > $@-t mv $@-t $@ include .depend