X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2FMakefile.am;h=28c13c5f9294979749ac67281e160d284161b831;hp=8daa67176eb4d079ebb1323cd1dd7e27e26c28fe;hb=cbef2ffb0432756822cd2b02a305384f814e9b50;hpb=b3f1457fddd19b1e540866fa01c665aeb371cb44 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