chore: move LICENSE -> docs/LICENSE
This commit is contained in:
committed by
Chris Rizzitello
parent
fe9407ca33
commit
dd55247380
@ -189,11 +189,6 @@ if(BUILD_INSTALLER)
|
||||
add_subdirectory(deploy)
|
||||
endif()
|
||||
|
||||
install(
|
||||
FILES ${PROJECT_SOURCE_DIR}/LICENSE
|
||||
DESTINATION ${CMAKE_INSTALL_LICENSE_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${PROJECT_SOURCE_DIR}/LICENSES/LicenseRef-OpenSSL-Exception.txt
|
||||
DESTINATION ${CMAKE_INSTALL_LICENSE_DIR}
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
# SPDX-FileCopyrightText: (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Copy License with txt ext for picky package creation tools
|
||||
file(COPY_FILE
|
||||
${CMAKE_SOURCE_DIR}/LICENSE
|
||||
${CMAKE_SOURCE_DIR}/docs/LICENSE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/LICENSE.txt
|
||||
ONLY_IF_DIFFERENT
|
||||
)
|
||||
|
||||
@ -28,6 +28,9 @@ endif()
|
||||
# Show our documents in the IDE
|
||||
add_custom_target(docs
|
||||
SOURCES
|
||||
LICENSE
|
||||
Security.md
|
||||
)
|
||||
|
||||
install(FILES Security.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||
install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_LICENSE_DIR})
|
||||
|
||||
Reference in New Issue
Block a user