2016-05-01 23:45:54 +03:00
|
|
|
# Auto-generated vagrant install documentation
|
|
|
|
|
|
|
|
set (INSTALLDOCFILES
|
|
|
|
install-on-centos-7
|
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
2016-06-07 01:17:15 +03:00
|
|
|
set (GENERALDOCFILES
|
|
|
|
Import_and_update.md
|
|
|
|
)
|
|
|
|
|
|
|
|
foreach (df ${GENERALDOCFILES})
|
|
|
|
CONFIGURE_FILE(${df} ${df})
|
|
|
|
endforeach()
|
|
|
|
|