ocaml: Sort the dependencies so they are stable between machines.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 6 Nov 2009 12:32:57 +0000 (12:32 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 6 Nov 2009 12:33:27 +0000 (12:33 +0000)
ocaml/.depend
ocaml/Makefile.am

index 8ed7c5b..3f743d5 100644 (file)
@@ -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
index 032a551..bb7407a 100644 (file)
@@ -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