mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Only create doc dir if building docs
This commit is contained in:
parent
75ec1587e5
commit
7f30124ca8
1 changed files with 2 additions and 0 deletions
|
@ -1292,7 +1292,9 @@ rm -fr $SAGE_ROOT/share $SAGE_ROOT/devel
|
|||
ln -sf %{python_sitearch}/sage $SAGE_SRC/sage
|
||||
ln -sf %{python_sitearch} $SAGE_ETC/sage
|
||||
ln -sf %{SAGE_DOC} $SAGE_ROOT/doc
|
||||
%if %{with docs}
|
||||
ln -sf %{SAGE_DOC} $SAGE_SRC/doc
|
||||
%endif
|
||||
ln -sf %{SAGE_SHARE} $SAGE_ROOT/share
|
||||
# compat devel symlink
|
||||
ln -sf src $SAGE_ROOT/devel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue