X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=ocaml%2FMakefile.am;h=ca4c111f1f47dbf7130e7a6315b1f2b572e3cb7e;hb=534a0aed6e40818bb2cb354bcf2fd3b587bce2cd;hp=c688df038b37357f900e4288c00ee6d0acd14869;hpb=5fc8bc9d9ef6dd23d55771c8def7c369f32e7919;p=hivex.git diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index c688df0..ca4c111 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -72,6 +72,7 @@ t/%: t/%.cmo mlhivex.cma .mli.cmi: $(OCAMLFIND) ocamlc -package unix -c $< -o $@ .ml.cmo: + mkdir -p `dirname $@` $(OCAMLFIND) ocamlc -package unix -c $< -o $@ .ml.cmx: $(OCAMLFIND) ocamlopt -package unix -c $< -o $@ @@ -88,7 +89,7 @@ include .depend 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 install_files += *.cmx *.cmxa