[Libguestfs] More changes needed separate builddir

Hilko Bengen bengen at hilluzination.de
Thu Aug 11 21:46:42 UTC 2011


* Hilko Bengen:

> Uh-oh. I had just tried building, not installing, before posting the
> patch. There are another few issues that need to be sorted out:
>
> 1. In the ocaml directory, "make install" does not find .mli files. I
> think this is easily fixed, see below.

And another one in the ocaml directory: .cmi files of the test cases are
built in $(srcdir).

Cheers,
-Hilko

diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index de6b321..654914a 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -65,5 +65,5 @@ noinst_DATA += $(TESTS)
 
 # https://www.redhat.com/archives/libguestfs/2011-May/thread.html#00015
-t/%: $(srcdir)/t/%.cmo mlhivex.cma
+t/%: $(builddir)/t/%.cmo mlhivex.cma
 	mkdir -p t
 	$(LIBTOOL) --mode=execute -dlopen $(top_builddir)/lib/libhivex.la \




More information about the Libguestfs mailing list