Commit f9f77cb
committed
[doc]: Conditionally add ocaml_doc to ALL target
Add the ocaml_doc target to the default ALL build target, but only when LLVM_BUILD_DOCS is enabled.
This addresses two issues:
1. It prevents the 'install' target from failing due to a missing ocamldoc output directory by ensuring docs are generated beforehand.
2. It avoids unnecessary build steps when documentation is not required (LLVM_BUILD_DOCS is OFF), saving build time.1 parent 0ebcc97 commit f9f77cb
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
0 commit comments