From c0465ca3ae5cd55dbc5dc6d3a511ae5431985d3b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 6 Nov 2009 12:32:57 +0000 Subject: [PATCH] ocaml: Sort the dependencies so they are stable between machines. --- ocaml/.depend | 6 +++--- ocaml/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ocaml/.depend b/ocaml/.depend index 8ed7c5b..3f743d5 100644 --- a/ocaml/.depend +++ b/ocaml/.depend @@ -1,8 +1,8 @@ -guestfs.cmi: guestfs_inspector.cmi: +guestfs.cmi: bindtests.cmo: guestfs.cmi bindtests.cmx: guestfs.cmx -guestfs.cmo: guestfs.cmi -guestfs.cmx: guestfs.cmi guestfs_inspector.cmo: guestfs_inspector.cmi guestfs_inspector.cmx: guestfs_inspector.cmi +guestfs.cmo: guestfs.cmi +guestfs.cmx: guestfs.cmi diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 032a551..bb7407a 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -103,7 +103,7 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f $@ $@-t - $(OCAMLFIND) ocamldep $^ | sed 's/ *$$//' > $@-t + $(OCAMLFIND) ocamldep $^ | sed 's/ *$$//' | sort > $@-t mv $@-t $@ include .depend -- 1.8.3.1