From cbef2ffb0432756822cd2b02a305384f814e9b50 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 12 Sep 2011 11:33:19 +0100 Subject: Stable OCaml dependencies. --- ocaml/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ocaml/Makefile.am') diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 8daa6717..28c13c5f 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -135,7 +135,10 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f $@ $@-t - $(OCAMLFIND) ocamldep $^ | sed 's/ *$$//' | sort > $@-t + $(OCAMLFIND) ocamldep $^ | \ + $(SED) 's/ *$$//' | \ + $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ + sort > $@-t mv $@-t $@ include .depend -- cgit