Move NETWORK.md installation from CMakeLists.txt to doc/CMakeLists.txt.

This commit is contained in:
David Korth 2025-06-16 23:30:30 -04:00
parent efafcc8471
commit c96e470e1b
2 changed files with 1 additions and 10 deletions

View File

@ -200,16 +200,6 @@ SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
SET(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md")
#SET(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_SOURCE_DIR}/doc/WELCOME.txt")
IF(INSTALL_DOC)
# Additional document files for the root directory.
# TODO: Convert from Unix line endings to Windows when
# compiling for Windows?
INCLUDE(DirInstallPaths)
INSTALL(FILES NETWORK.md
DESTINATION "${DIR_INSTALL_DOC_ROOT}"
COMPONENT "doc")
ENDIF(INSTALL_DOC)
# CPack: Source package settings.
# NOTE: Double-escape is required because the unescaped
# string # is written to CPackSourceConfig.cmake, which

View File

@ -22,6 +22,7 @@ INSTALL(FILES
INSTALL(FILES
../README.md
../NEWS.md
../NETWORK.md
../LICENSE
DESTINATION "${DIR_INSTALL_DOC_ROOT}"
COMPONENT "doc"