2016-05-01 23:45:54 +03:00
|
|
|
# Auto-generated vagrant install documentation
|
|
|
|
|
|
|
|
set (INSTALLDOCFILES
|
2017-06-25 18:18:21 +03:00
|
|
|
Install-on-Centos-7
|
|
|
|
Install-on-Ubuntu-16
|
2016-05-01 23:45:54 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
foreach (df ${INSTALLDOCFILES})
|
|
|
|
ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
|
2016-06-07 01:17:15 +03:00
|
|
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/${df}.sh ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
|
2016-05-01 23:45:54 +03:00
|
|
|
MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/vagrant/${df}.sh
|
2016-06-07 01:17:15 +03:00
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh
|
2016-05-01 23:45:54 +03:00
|
|
|
COMMENT "Creating markdown docs from vagrant/${df}.sh"
|
|
|
|
)
|
|
|
|
|
|
|
|
ADD_CUSTOM_TARGET( md_install_${df} ALL
|
|
|
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
|
|
|
|
)
|
|
|
|
endforeach()
|
|
|
|
|
2017-06-25 18:18:21 +03:00
|
|
|
# Copied static documentation
|
|
|
|
|
2016-06-07 01:17:15 +03:00
|
|
|
set (GENERALDOCFILES
|
2016-06-07 23:47:57 +03:00
|
|
|
Installation.md
|
2017-06-25 18:18:21 +03:00
|
|
|
Import-and-Update.md
|
2017-05-25 17:53:44 +03:00
|
|
|
Faq.md
|
2016-06-07 01:17:15 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
foreach (df ${GENERALDOCFILES})
|
|
|
|
CONFIGURE_FILE(${df} ${df})
|
|
|
|
endforeach()
|
|
|
|
|