Commits

Anonymous committed b1b1c81

Fix up the documentation generator targets.

Comments (0)

Files changed (1)

 OCAMLDEP     = ocamldep
 OCAMLLEX     = ocamllex
 OCAMLYACC    = ocamlyacc
-OCAMLDOC     = ocamlfind ocamldoc $(OCAMLFINDOPT)
+OCAMLDOC     = ocamlfind ocamldoc -v $(OCAMLFINDOPT)
 
 DEBUG_OPT    = -g
 WARN_ERROR   = -passopt -w -passopt Ae # -warn-error A
 
 DOC_INCLUDE_CF = `ocamlfind query cf`
 DOC_INCLUDE_NX = `ocamlfind query nx`
-DOC_INCLUDES = $(DOC_INCLUDE_CF) $(DOC_INCLUDE_NX)
+DOC_ARGS = $(DOC_INCLUDE_CF) $(DOC_INCLUDE_NX) $(DOC_SOURCES)
 
 doc::
 	@mkdir -p doc
-	$(OCAMLDOC) -v -d doc -html -colorize-code -m A $(DOC_SOURCES) \
-	  -I $(DOC_INCLUDES) $(DOC_SOURCES)
+	$(OCAMLDOC) -v -d doc -html -colorize-code -m A $(DOC_SOURCES)
 
 ###############################################################################