From: Rob Hoes Date: Tue, 12 Oct 2010 09:35:17 +0000 (+0100) Subject: Add OCaml API autogenerator and mpathalert to code documentation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=57504a3dee725ad1d2b5ebd873881d433b13cbff;p=xcp%2Fxen-api.git Add OCaml API autogenerator and mpathalert to code documentation Signed-off-by: Rob Hoes --- diff --git a/ocaml/idl/ocaml_backend/OMakefile b/ocaml/idl/ocaml_backend/OMakefile index 138ddcb1..7500d9de 100644 --- a/ocaml/idl/ocaml_backend/OMakefile +++ b/ocaml/idl/ocaml_backend/OMakefile @@ -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 diff --git a/ocaml/mpathalert/OMakefile b/ocaml/mpathalert/OMakefile index 38136c58..e2fead3a 100644 --- a/ocaml/mpathalert/OMakefile +++ b/ocaml/mpathalert/OMakefile @@ -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