Commit fe96e534639ab91bbc94ae6dc1e81d1d9c05f42b
1 parent
c89a715c
deprecated PDF documentation, doesn't build anyway
Showing
1 changed file
with
0 additions
and
12 deletions
CMakeLists.txt
| ... | ... | @@ -124,18 +124,6 @@ if(${BR_BUILD_DOCUMENTATION}) |
| 124 | 124 | add_custom_target(doc ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) |
| 125 | 125 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/MBGC_file_overview.pdf ${CMAKE_CURRENT_BINARY_DIR}/html/MBGC_file_overview.pdf COPYONLY) |
| 126 | 126 | install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION .) |
| 127 | - | |
| 128 | - | |
| 129 | - option(BR_BUILD_DOCUMENTATION_PDF "Build PDF Documentation") | |
| 130 | - if(${BR_BUILD_DOCUMENTATION_PDF}) | |
| 131 | - include(${BR_SHARE_DIR}/cmake/UseLATEX.cmake) | |
| 132 | - add_custom_command(OUTPUT latex/refman.aux DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.tex COMMAND ${PDFLATEX_COMPILER} refman WORKING_DIRECTORY latex) | |
| 133 | - add_custom_command(OUTPUT latex/refman.bbl DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.aux COMMAND ${BIBTEX_COMPILER} refman WORKING_DIRECTORY latex) | |
| 134 | - add_custom_command(OUTPUT latex/refman.dvi DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.bbl COMMAND ${PDFLATEX_COMPILER} refman WORKING_DIRECTORY latex) | |
| 135 | - add_custom_command(OUTPUT latex/refman.log DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.bbl latex/refman.dvi COMMAND ${PDFLATEX_COMPILER} refman WORKING_DIRECTORY latex) | |
| 136 | - add_custom_target(doc_pdf ALL echo DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.log doc) # Trigger latex build process | |
| 137 | - install(FILES ${CMAKE_BINARY_DIR}/latex/refman.pdf DESTINATION .) | |
| 138 | - endif() | |
| 139 | 127 | endif() |
| 140 | 128 | |
| 141 | 129 | # Install | ... | ... |