[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] More changes needed separate builddir



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]