X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2FMakefile.am;h=d65ebaaf33b6895b182e5d580157e25325cbbd07;hp=1aa0cb6a22c6db7b35e3672ca23271d39d17f741;hb=dc3d0e3b8ed8e77b1314f09d116ed97f6a440914;hpb=d39310d10894808580f7c0cfb425083f55685e12 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