This repository was archived by the owner on Jan 30, 2023. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +9
-21
lines changed Expand file tree Collapse file tree 2 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 1- $(PYTHON) numpy $(BLAS) cephes gsl glpk sphinx|  pkgconfig pip matplotlib typing 
1+ $(PYTHON) numpy $(BLAS) cephes gsl glpk | sphinx  pkgconfig pip matplotlib
22
33matplotlib is needed to test cvxopt (i.e., if SAGE_CHECK=yes). See #12742.
4- sphinx and typing are  used to build docs (see #14645).
4+ sphinx is  used to build docs (see #14645).
55----------
66All lines of this file are ignored except the first.
77It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
Original file line number Diff line number Diff line change 2828
2929sdh_pip_install .
3030
31- if [ $? -ne 0 ]; then
32-     echo "Error building/installing cvxopt"
33-     exit 1
34- fi
35- 
3631# install docs
37- if [ "x$SAGE_SPKG_INSTALL_DOCS" = xyes ] ; then
38-    cd doc
39-    ${MAKE} -B html
40-    if [ $? -ne 0 ]; then
41-       echo "Error building the documentation"
42-       exit 1
43-    fi
44- # checking to see if there is previously installed documentation.
45-    if [ -d $SAGE_LOCAL/share/doc/cvxopt/html ] ; then
46-       rm -rf $SAGE_LOCAL/share/doc/cvxopt/html
47-    fi
48-    mkdir -p $SAGE_LOCAL/share/doc/cvxopt/html
49-    cp -r build/html/* $SAGE_LOCAL/share/doc/cvxopt/html/
50- fi
32+ if [ "$SAGE_SPKG_INSTALL_DOCS" = yes ]; then
33+     cd doc
34+     $MAKE -B html || sdh_die "Error building the documentation"
5135
36+     docdir="$SAGE_LOCAL/share/doc/cvxopt"
37+     rm -rf "$docdir"
38+     mv build/html "$docdir"
39+ fi
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments