X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile.am;h=28c13c5f9294979749ac67281e160d284161b831;hb=1e891d900714b84a84f9c9e79c6e033aa56c0fcc;hp=8daa67176eb4d079ebb1323cd1dd7e27e26c28fe;hpb=0938e43a60f9d729d9795cf45498e60217fece0e;p=libguestfs.git diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 8daa671..28c13c5 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -135,7 +135,10 @@ depend: .depend .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f $@ $@-t - $(OCAMLFIND) ocamldep $^ | sed 's/ *$$//' | sort > $@-t + $(OCAMLFIND) ocamldep $^ | \ + $(SED) 's/ *$$//' | \ + $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \ + sort > $@-t mv $@-t $@ include .depend