diff --git a/CMakeLists.txt b/CMakeLists.txt index 708a9cc38..f67abda08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -611,8 +611,8 @@ set (CPACK_PACKAGE_VENDOR "Sony Pictures Imageworks") set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "OpenShadingLanguage is...") set (CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/src/doc/Description.txt") set (CPACK_PACKAGE_FILE_NAME OSL-${OSL_LIBRARY_VERSION_MAJOR}.${OSL_LIBRARY_VERSION_MINOR}.${OSL_LIBRARY_VERSION_PATCH}-${platform}) -file (COPY "${PROJECT_SOURCE_DIR}/LICENSE.md" DESTINATION "${CMAKE_BINARY_DIR}") -file (RENAME "${CMAKE_BINARY_DIR}/LICENSE.md" "${CMAKE_BINARY_DIR}/License.txt") +file (COPY "${PROJECT_SOURCE_DIR}/LICENSE" DESTINATION "${CMAKE_BINARY_DIR}") +file (RENAME "${CMAKE_BINARY_DIR}/LICENSE" "${CMAKE_BINARY_DIR}/License.txt") set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_BINARY_DIR}/License.txt") file (COPY "${PROJECT_SOURCE_DIR}/README.md" DESTINATION "${CMAKE_BINARY_DIR}") file (RENAME "${CMAKE_BINARY_DIR}/README.md" "${CMAKE_BINARY_DIR}/Readme.txt") diff --git a/LICENSE.md b/LICENSE similarity index 100% rename from LICENSE.md rename to LICENSE diff --git a/src/doc/CMakeLists.txt b/src/doc/CMakeLists.txt index ca809ca2a..9f8dcd26f 100644 --- a/src/doc/CMakeLists.txt +++ b/src/doc/CMakeLists.txt @@ -3,7 +3,7 @@ set (public_docs osl-languagespec.pdf) install (FILES ${public_docs} DESTINATION doc COMPONENT documentation) -install ( FILES "${PROJECT_SOURCE_DIR}/LICENSE.md" +install ( FILES "${PROJECT_SOURCE_DIR}/LICENSE" "${PROJECT_SOURCE_DIR}/INSTALL.md" "${PROJECT_SOURCE_DIR}/CHANGES.md" "${PROJECT_SOURCE_DIR}/README.md"