1 diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
2 index 32ed053..73ba87f 100644
3 --- a/docs/CMakeLists.txt
4 +++ b/docs/CMakeLists.txt
5 @@ -72,7 +72,7 @@ foreach(page ${DOC_SRCS})
6 string(REPLACE "._tx" "" basename ${basename})
8 set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
9 - if(${page} MATCHES "/build/")
10 + if(${page} MATCHES ".+/build/")
11 set(txt_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.txt)
12 set(html_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.html)