]> git.openstreetmap.org Git - nominatim.git/blob - docs/CMakeLists.txt
PSR2 fixes for /settings
[nominatim.git] / docs / CMakeLists.txt
1 # Auto-generated vagrant install documentation
2
3 set (INSTALLDOCFILES
4      install-on-centos-7
5      install-on-ubuntu-16
6     )
7
8 foreach (df ${INSTALLDOCFILES})
9     ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
10         COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh ${PROJECT_SOURCE_DIR}/vagrant/${df}.sh ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
11         MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/vagrant/${df}.sh
12         DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bash2md.sh
13         COMMENT "Creating markdown docs from vagrant/${df}.sh"
14         )
15
16 ADD_CUSTOM_TARGET( md_install_${df} ALL
17         DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${df}.md
18         )
19 endforeach()
20
21 set (GENERALDOCFILES
22      Installation.md
23      Import_and_update.md
24     )
25
26 foreach (df ${GENERALDOCFILES})
27    CONFIGURE_FILE(${df} ${df})
28 endforeach()
29