Commits

jhwoodyatt  committed 0902eaa

Changed the order of build. Now using ocamlfind to invoke ocamldoc.

  • Participants
  • Parent commits a2030e1

Comments (0)

Files changed (1)

 OCAMLDEP     = ocamldep
 OCAMLLEX     = ocamllex
 OCAMLYACC    = ocamlyacc
+OCAMLDOC     = ocamlfind ocamldoc $(OCAMLFINDOPT)
 
 CC_OPT       = -ccopt -fPIC -ccopt -O2 -ccopt -Wall -ccopt -Wno-unused-variable
 CMI_OPT      = $(DEBUG_OPT)
 CF_MODULES = \
     ordered either exnopt smonad cmonad scmonad tai64 tai64n gregorian \
 	stdtime journal seq deque flow heap pqueue map set sbheap rbtree gadget \
-    unicode parser message dfa regex lex lexer scan_parser \
+    machine unicode parser message dfa regex lex lexer scan_parser \
     socket netif nameinfo sock_common sock_dgram sock_stream ip_common \
     $(CF_ADDR_MODULES:%=%_addr) $(CF_PROTO_MODULES:%=%_proto) \
     tcp4_socket tcp6_socket udp4_socket udp6_socket poll uri
 
 doc::
 	@mkdir -p doc
-	ocamldoc -v -d doc -html -colorize-code -m A $(DOC_SOURCES)
+	$(OCAMLDOC) -v -d doc -html -colorize-code -m A $(DOC_SOURCES)
 
 ###############################################################################