diff options
| author | Peter Zotov <whitequark@whitequark.org> | 2015-02-28 13:48:23 +0000 |
|---|---|---|
| committer | Peter Zotov <whitequark@whitequark.org> | 2015-02-28 13:48:23 +0000 |
| commit | 81c0d9f9003e49034e23a820e10cb35d64d297d4 (patch) | |
| tree | 245679848d85d30a59756f205cebe18393afe899 /llvm | |
| parent | 5fbfe2ffdcb9a0c8b5b87ed370e01d5bcd2856ac (diff) | |
| download | bcm5719-llvm-81c0d9f9003e49034e23a820e10cb35d64d297d4.tar.gz bcm5719-llvm-81c0d9f9003e49034e23a820e10cb35d64d297d4.zip | |
[OCaml] Generate documentation again with autoconf buildsystem.
Patch by Evangelos Foutras:
r220899 started using ocamlfind to build the OCaml bindings but
docs/Makefile still contains references to the OCAMLDOC macro which
is no longer being defined. The result is that OCaml documentation
isn't generated/installed.
llvm-svn: 230850
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/docs/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/Makefile b/llvm/docs/Makefile index 690f7726b73..dcf2f39e2c5 100644 --- a/llvm/docs/Makefile +++ b/llvm/docs/Makefile @@ -41,7 +41,7 @@ install_targets := install-html ifeq ($(ENABLE_DOXYGEN),1) install_targets += install-doxygen endif -ifdef OCAMLDOC +ifdef OCAMLFIND ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD))) install_targets += install-ocamldoc endif @@ -49,7 +49,7 @@ endif install-local:: $(install_targets) generated_targets := doxygen -ifdef OCAMLDOC +ifdef OCAMLFIND generated_targets += ocamldoc endif @@ -120,7 +120,7 @@ regen-ocamldoc: $(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc $(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html $(Verb) \ - $(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ + $(OCAMLFIND) ocamldoc -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ `$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" \ -path "*/$(BuildMode)/*.odoc" -exec echo -load '{}' ';'` |

