[Libguestfs] More changes needed separate builddir

Hilko Bengen bengen at hilluzination.de
Thu Aug 11 21:38:12 UTC 2011


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.

2. I have not found any simple way to make ExtUtils::MakeMaker do
out-of-tree builds, yet. Maybe it's easiest to just "cp -rsu" things to
$(builddir) there.

3. Some pod2html calls still aren't quite right.

I had thought that being able to compile bindings for multiple Python
versions would be easier. *sigh*

-Hilko

diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 89a59cd..de6b321 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -90,5 +90,5 @@ SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly
 
 # Do the installation by hand, because we want to run ocamlfind.
-install_files = META *.so *.a *.cma *.cmi *.mli
+install_files = META *.so *.a *.cma *.cmi $(srcdir)/*.mli
 
 if HAVE_OCAMLOPT




More information about the Libguestfs mailing list