mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: Documentation still has .txt suffix
Solution: The regular expression replacement expected a non-existing space at the beginning of the input files.
This commit is contained in:
parent
1303eea508
commit
ae08099eb5
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user