Fix non-srcdir builds: further fixes to OCaml build rules.
authorRichard Jones <rjones@trick.home.annexia.org>
Fri, 17 Jul 2009 08:36:28 +0000 (09:36 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Fri, 17 Jul 2009 08:36:28 +0000 (09:36 +0100)
ocaml/Makefile.am

index c7d43a0..e4a0a73 100644 (file)
@@ -57,6 +57,7 @@ noinst_DATA += bindtests \
        t/guestfs_060_readdir
 
 bindtests: bindtests.cmx mlguestfs.cmxa
+       mkdir -p t
        $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@
 
 t/guestfs_005_load: t/guestfs_005_load.cmx mlguestfs.cmxa