[packages/llvm] pull ocaml docs building out of doc condition
atler
atler at pld-linux.org
Tue Oct 3 22:02:44 CEST 2023
commit bc24332392821e9c7877d113db008c8ee19f1dce
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Oct 3 21:51:44 2023 +0200
pull ocaml docs building out of doc condition
deps/install/files are all independent of doc bcond so align building
with the rest. fixes build with ocaml but without doc.
llvm.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index c564d21..661b739 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -811,9 +811,6 @@ fi
%if %{with doc}
%{__make} -C docs docs-llvm-html
%{__make} -C docs docs-llvm-man
-%if %{with ocaml}
-%{__make} -C docs ocaml_doc
-%endif
%{__make} -C tools/clang/docs docs-clang-html
%{__make} -C tools/clang/docs docs-clang-man
%{__make} -C tools/lld/docs docs-lld-html
@@ -826,6 +823,9 @@ cp -pnL %{_lib}/liblldb.so tools/lldb/docs/lldb/_lldb.so
%{__make} -C tools/lldb/docs lldb-cpp-doc
%endif
%endif
+%if %{with ocaml}
+%{__make} -C docs ocaml_doc
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/bc24332392821e9c7877d113db008c8ee19f1dce
More information about the pld-cvs-commit
mailing list