mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Don't run ocamldoc if it's not installed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,14 +37,21 @@ install_targets := install-html
|
|||||||
ifeq ($(ENABLE_DOXYGEN),1)
|
ifeq ($(ENABLE_DOXYGEN),1)
|
||||||
install_targets += install-doxygen
|
install_targets += install-doxygen
|
||||||
endif
|
endif
|
||||||
|
ifdef OCAMLDOC
|
||||||
ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD)))
|
ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD)))
|
||||||
install_targets += install-ocamldoc
|
install_targets += install-ocamldoc
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
install-local:: $(install_targets)
|
install-local:: $(install_targets)
|
||||||
|
|
||||||
|
generated_targets := doxygen
|
||||||
|
ifdef OCAMLDOC
|
||||||
|
generated_targets += ocamldoc
|
||||||
|
endif
|
||||||
|
|
||||||
# Live documentation is generated for the web site using this target:
|
# Live documentation is generated for the web site using this target:
|
||||||
# 'make generated BUILD_FOR_WEBSITE=1'
|
# 'make generated BUILD_FOR_WEBSITE=1'
|
||||||
generated:: doxygen ocamldoc
|
generated:: $(generated_targets)
|
||||||
|
|
||||||
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
|
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
|
||||||
$(Echo) Installing HTML documentation
|
$(Echo) Installing HTML documentation
|
||||||
|
Reference in New Issue
Block a user