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