mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
ocaml: Use ocamlfind to run ocamldoc.
Using 'ocamlfind ocamldoc' is much faster than running 'ocamldoc' directly, because ocamlfind will run the native code program 'ocamldoc.opt' if it is available. This change approximately halves the time taken to compile the ocaml bindings.
This commit is contained in:
@@ -98,7 +98,7 @@ if HAVE_OCAMLDOC
|
||||
noinst_DATA += html/index.html
|
||||
|
||||
html/index.html: $(srcdir)/guestfs.mli $(srcdir)/guestfs.ml
|
||||
-$(OCAMLDOC) -d html -html $^
|
||||
-$(OCAMLFIND) ocamldoc -d html -html $^
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user