[ROCProfiler-Register/Systems/Compute] Fixing License file name usage (#927)

ROCProfiler-Register/Systems/Compute: The license file name in the CMake install module and other locations was originally LICENSE, but it was recently changed to LICENSE.md, requiring an update to the CMake install module and all other relevant locations.
This commit is contained in:
Ammar ELWazir authored and GitHub committed 2025-09-10 15:46:39 -04:00
1 parent aa90a83e42
commit 2a9700fcd7
12 files changed
+14 -19

No files matched your search

@@ -21,7 +21,6 @@ trigger:
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
- .wordlist.txt
@@ -37,7 +36,6 @@ pr:
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
- .wordlist.txt
drafts: false
+4 -3
View File
@@ -385,8 +385,8 @@ endif()
# ------------------------------------------------------------------------------#
configure_file(
${PROJECT_SOURCE_DIR}/LICENSE
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE
${PROJECT_SOURCE_DIR}/LICENSE.md
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE.md
COPYONLY
)
@@ -430,7 +430,8 @@ install(
)
install(
FILES ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE
FILES
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE.md
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}
COMPONENT setup
)
+1 -1
View File
@@ -99,7 +99,7 @@ Please see the [pre-commit documentation](https://pre-commit.com/#quick-start) f
## Code License ##
All code contributed to this project will be licensed under the license identified in the [License](LICENSE). Your contribution will be accepted under the same license.
All code contributed to this project will be licensed under the license identified in the [License](LICENSE.md). Your contribution will be accepted under the same license.
## References ##
@@ -5,4 +5,4 @@
License
*******
.. include:: ../LICENSE
.. include:: ../LICENSE.md
@@ -63,7 +63,7 @@ if [ ${#files_with_missing_copyright[@]} -ne 0 ]; then
else
copyright_notice+="$comS"$'\n'
fi
done < LICENSE
done < LICENSE.md
# Add the notice to the beginning of the file
temp_file=$(mktemp)