Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v9-minor'
Browse files Browse the repository at this point in the history
  • Loading branch information
scip-ci committed Sep 5, 2024
2 parents 855bee2 + 741d8da commit 73b38ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
#
# a couple of programs are required on the path
#
find_program(PYTHON python)
find_program(PHP php)
find_program(PYTHON python3)
find_program(BASH bash)
find_program(DOXYGEN doxygen)


if(NOT (PYTHON AND PHP AND BASH AND DOXYGEN))
message(WARNING "Could not find all of doxygen, python, php, and bash in system path, which are required for generation of documentation")
if(NOT (PYTHON AND BASH AND DOXYGEN))
message(WARNING "Could not find all of doxygen, python3, and bash in system path, which are required for generation of documentation")
else()

# change this variable to 'php' the web page
Expand Down Expand Up @@ -46,7 +45,7 @@ else()
# 2. create the FAQ
#
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/inc/faq.inc
COMMAND ${PYTHON} parser.py --linkext ${DOC_HTML_FILE_EXTENSION} && ${PHP} localfaq.php > faq.inc
COMMAND ${PYTHON} parser.py --linkext ${DOC_HTML_FILE_EXTENSION}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/faq
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR/inc/faq/faqtext.txt}
)
Expand Down

0 comments on commit 73b38ea

Please sign in to comment.