diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 1c6c9c21c07..57f6dfeecc3 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -44,14 +44,9 @@ EXECUTE_PROCESS( FILE(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/tip_of_the_day.list.tmp TIP_OF_THE_DAY_LINES) SET(TOTD_OUTPUT "") -SET(FIRST_LINE TRUE) FOREACH(line ${TIP_OF_THE_DAY_LINES}) STRING(REGEX REPLACE "^ *\"" "" line2 "${line}") STRING(REGEX REPLACE "\" *$" "" line3 "${line2}") - IF (NOT FIRST_LINE) - LIST(APPEND TOTD_OUTPUT "\n\n") - ENDIF() - SET(FIRST_LINE FALSE) LIST(APPEND TOTD_OUTPUT "${line3}\n") ENDFOREACH()