X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile.am;h=d65ebaaf33b6895b182e5d580157e25325cbbd07;hb=a578bd9c8ebfc311ec7c9c01085a9cf84be4eae2;hp=1aa0cb6a22c6db7b35e3672ca23271d39d17f741;hpb=d39310d10894808580f7c0cfb425083f55685e12;p=libguestfs.git diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 1aa0cb6..d65ebaa 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -94,8 +94,9 @@ t/%.cmx: t/%.ml mlguestfs.cmxa depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) - rm -f .depend - $(OCAMLFIND) ocamldep $^ > $@ + rm -f $@ $@-t + $(OCAMLFIND) ocamldep $^ | sed 's/ *$$//' > $@-t + mv $@-t $@ include .depend