]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
Add OCaml API autogenerator and mpathalert to code documentation
authorRob Hoes <rob.hoes@citrix.com>
Tue, 12 Oct 2010 09:35:17 +0000 (10:35 +0100)
committerRob Hoes <rob.hoes@citrix.com>
Tue, 12 Oct 2010 09:35:17 +0000 (10:35 +0100)
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
ocaml/idl/ocaml_backend/OMakefile
ocaml/mpathalert/OMakefile

index 138ddcb15914c94cfe7cf67c78f4d93118d615de..7500d9decd1f23aaeabdfc5aa2afe5676cfc3761 100644 (file)
@@ -14,8 +14,9 @@ OCAMLINCLUDES += .. ../.. ../../database $(AUTOGEN_DIR) ../../xapi ../../client_
 OCAMLPACKS += sexpr http-svr
 
 # only gen_api requires datamodel library:
-GEN_API_FILES = gen_api genOCaml ref ocaml_syntax gen_db_actions gen_db_check gen_empty_custom gen_client gen_server gen_common gen_rbac ../../database/escaping xMLRPC locking ../api_lowlevel
-OCamlProgram(gen_api_main, $(GEN_API_FILES) gen_api_main ../datamodel ../constants ../api_errors ../api_messages ../datamodel_utils ../datamodel_values ocaml_utils ../datamodel_types ../dm_api $(AUTOGEN_HELPER_DIR)/string_marshall_helper)
+GEN_API_FILES = gen_api genOCaml ref ocaml_syntax gen_db_actions gen_db_check gen_empty_custom gen_client gen_server gen_common gen_rbac ../../database/escaping xMLRPC locking ../api_lowlevel gen_api_main ../datamodel ../constants ../api_errors ../api_messages ../datamodel_utils ../datamodel_values ocaml_utils ../datamodel_types ../dm_api $(AUTOGEN_HELPER_DIR)/string_marshall_helper
+OCamlProgram(gen_api_main, $(GEN_API_FILES))
+OCamlDocProgram(gen_api_main, $(GEN_API_FILES))
 
 FILTER = closed # or opensource or closed or debug or implementation
 
index 38136c581527c64a3733f7abc140b65db998e8fe..e2fead3ace947f2daef1927fb24cb69b2199d4e0 100644 (file)
@@ -3,6 +3,7 @@ OCAMLINCLUDES = ../idl/ocaml_backend/ ../idl ../autogen
 OCAMLPACKS    = xml-light2 stdext stunnel http-svr log
 
 OCamlProgram(mpathalert, mpathalert)
+OCamlDocProgram(mpathalert, mpathalert)
 
 .PHONY: clean