From: Richard W.M. Jones Date: Sun, 31 Jul 2011 20:53:28 +0000 (+0100) Subject: Make .depend file stable. X-Git-Tag: 0.2.2~8 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=38ebb70a5a45ddec54621def5e4348c95c06590c;p=guestfs-browser.git Make .depend file stable. --- diff --git a/Makefile.am b/Makefile.am index 6736a80..fb632b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -246,8 +246,9 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) $(OCAMLFIND) ocamldep $(OCAMLPACKAGES) $^ | \ + $(SED) -e 's/ *$$//' | \ $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ - sort > $@-t + LANG=C sort > $@-t mv $@-t $@ include .depend