Commit ae08099e authored by Thomas Braun's avatar Thomas Braun

Problem: Documentation still has .txt suffix

Solution: The regular expression replacement expected a non-existing
space at the beginning of the input files.
parent 1303eea5
......@@ -623,7 +623,7 @@ file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc)
file (GLOB docs RELATIVE ${CMAKE_CURRENT_BINARY_DIR}/ "${CMAKE_CURRENT_SOURCE_DIR}/doc/*.txt")
set (html-docs)
foreach (txt ${docs})
string (REGEX REPLACE ".*/ (.*)\\.txt" "\\1.html" html ${txt})
string (REGEX REPLACE ".*/(.*)\\.txt" "\\1.html" html ${txt})
set (src ${txt})
set (dst doc/${html})
add_custom_command (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment