Changeset 1573220 in sasview


Ignore:
Timestamp:
Sep 11, 2017 8:28:58 AM (7 years ago)
Author:
wojciech
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
0cb184e
Parents:
96f00a0
Message:

added check if latex exists from build_sphinx

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • build_tools/jenkins_linux_build.sh

    rc0ef8da r1573220  
    6464 
    6565# CREATE PDF FROM LATEX 
    66 cd $WORKSPACE 
    67 cd sasview/docs/sphinx-docs/build/latex 
    68 pdflatex SasView.tex 
     66#cd $WORKSPACE 
     67#cd sasview/docs/sphinx-docs/build/latex 
     68#pdflatex SasView.tex 
    6969 
    7070# INSTALL SASVIEW 
  • docs/sphinx-docs/build_sphinx.py

    r5cb0c87 r1573220  
    1818from distutils.dir_util import copy_tree 
    1919from distutils.util import get_platform 
     20from distutils.spawn import find_executable 
     21 
    2022from shutil import copy 
    2123from os import listdir 
     
    371373 
    372374    LATEXDIR = os.path.join(SPHINX_BUILD, "latex") 
     375    #TODO: Does it need to be done so many time? 
    373376    def pdflatex(): 
    374377        subprocess.call(["pdflatex", "Sasview.tex"], cwd=LATEXDIR) 
     
    436439    apidoc() 
    437440    build() 
    438     #build_pdf() 
     441    if find_executable('latex'): 
     442        build_pdf() 
    439443    #convert_katex() 
    440444    #convert_mathjax() 
Note: See TracChangeset for help on using the changeset viewer.