X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2FMakefile.am;h=5813f84baa7ef43044c197dad25c18d8e286a150;hp=c07b9c579c4f6718e08748cb5233b72d0613a79b;hb=f7d18c84dde596699ffc5100fec2cf7b0d582450;hpb=7e51cc94ddb7527b37111d6fecce96dca14b900a diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index c07b9c5..5813f84 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -25,8 +25,10 @@ generator_built = \ EXTRA_DIST = \ $(generator_built) \ + .depend \ guestfs_c.c guestfs_c.h \ - .depend META.in \ + html/.gitignore \ + META.in \ run-bindtests \ t/*.ml @@ -56,9 +58,19 @@ guestfs_c.o: guestfs_c.c guestfs_c_actions.o: guestfs_c_actions.c $(CC) $(AM_CPPFLAGS) $(CFLAGS) -fPIC -Wall -c $< +if HAVE_OCAMLDOC + +noinst_DATA += html/index.html + +html/index.html: guestfs*.mli guestfs*.ml + mkdir -p html + -$(OCAMLDOC) -d html -html $^ +endif + TESTS_ENVIRONMENT = \ LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ LIBGUESTFS_PATH=$(top_builddir)/appliance \ + TMPDIR=$(top_builddir) \ $(VG) TESTS = run-bindtests \