Lines 25-33
Link Here
|
25 |
if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-23") |
25 |
if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-23") |
26 |
message(FATAL_ERROR "Mathjax 2.3 not found (re-run install-dependencies script to install)") |
26 |
message(FATAL_ERROR "Mathjax 2.3 not found (re-run install-dependencies script to install)") |
27 |
endif() |
27 |
endif() |
28 |
if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/pandoc") |
|
|
29 |
message(FATAL_ERROR "pandoc not found (re-run install-dependencies script to install)") |
30 |
endif() |
31 |
if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/rmarkdown") |
28 |
if(NOT EXISTS "${RSTUDIO_DEPENDENCIES_DIR}/common/rmarkdown") |
32 |
message(FATAL_ERROR "rmarkdown package not found (re-run install-dependencies script to install)") |
29 |
message(FATAL_ERROR "rmarkdown package not found (re-run install-dependencies script to install)") |
33 |
endif() |
30 |
endif() |
Lines 339-350
Link Here
|
339 |
install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-23" |
336 |
install(DIRECTORY "${RSTUDIO_DEPENDENCIES_DIR}/common/mathjax-23" |
340 |
DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources") |
337 |
DESTINATION "${RSTUDIO_INSTALL_SUPPORTING}/resources") |
341 |
|
338 |
|
342 |
# install pandoc |
|
|
343 |
set(PANDOC_BIN "${RSTUDIO_DEPENDENCIES_DIR}/common/pandoc/1.12.4.2") |
344 |
file(GLOB PANDOC_FILES "${PANDOC_BIN}/pandoc*") |
345 |
install(PROGRAMS ${PANDOC_FILES} |
346 |
DESTINATION ${RSTUDIO_INSTALL_BIN}/pandoc) |
347 |
|
348 |
# install rmarkdown package |
339 |
# install rmarkdown package |
349 |
file(GLOB RMARKDOWN_PACKAGE "${RSTUDIO_DEPENDENCIES_DIR}/common/rmarkdown*.tar.gz") |
340 |
file(GLOB RMARKDOWN_PACKAGE "${RSTUDIO_DEPENDENCIES_DIR}/common/rmarkdown*.tar.gz") |
350 |
install(FILES ${RMARKDOWN_PACKAGE} |
341 |
install(FILES ${RMARKDOWN_PACKAGE} |