X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2FMakefile.am;h=252a3370ac3291dcce1cc08168adec6019534f91;hp=c07b9c579c4f6718e08748cb5233b72d0613a79b;hb=cd00157efca760ce043dcae216d921841dd25ff9;hpb=e72592563c0be15f1b2400e15205d5e803875685 diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index c07b9c5..252a337 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,6 +58,15 @@ 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 \