# HG changeset patch # User Rob Hoes Add OCaml API autogenerator and mpathalert to code documentation Signed-off-by: Rob Hoes diff -r 3e83209497e0 ocaml/idl/ocaml_backend/OMakefile --- a/ocaml/idl/ocaml_backend/OMakefile +++ b/ocaml/idl/ocaml_backend/OMakefile @@ -14,8 +14,9 @@ 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 -r 3e83209497e0 ocaml/mpathalert/OMakefile --- a/ocaml/mpathalert/OMakefile +++ b/ocaml/mpathalert/OMakefile @@ -3,6 +3,7 @@ OCAMLPACKS = xml-light2 stdext stunnel http-svr log OCamlProgram(mpathalert, mpathalert) +OCamlDocProgram(mpathalert, mpathalert) .PHONY: clean